Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
419b4da3
Commit
419b4da3
authored
Feb 01, 2002
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 01, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config.h should be included first (if at all).
Fix return of convert_value.
parent
b1045496
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
wine.xs
programs/winetest/wine.xs
+10
-11
No files found.
programs/winetest/wine.xs
View file @
419b4da3
/* -*-C-*- --------------------------------------------------------------------
| Module: wine.xs |
| ---------------------------------------------------------------------------- |
| Purpose: Perl gateway to wine API calls |
| |
------------------------------------------------------------------------------*/
/* -*-C-*- -------------------------------------------------------------
| Module: wine.xs |
| -------------------------------------------------------------------- |
| Purpose: Perl gateway to wine API calls |
| |
----------------------------------------------------------------------*/
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "windef.h"
#include <EXTERN.h>
...
...
@@ -124,11 +125,9 @@ static SV *convert_value( enum ret_type type, unsigned long val )
case RET_WORD: return sv_2mortal( newSViv ((int) val & 0xffff ));
case RET_PTR: return sv_2mortal( newSViv ((int) val ));
case RET_STR: return sv_2mortal( newSVpv ((char *) val, 0 ));
default:
croak ("Bad return type %d", type);
break;
}
croak ("Bad return type %d", type);
return &PL_sv_undef;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment