Guile OUTPUT typemap fix
Fixes 'attempt to free a non-heap object' in some OUTPUT typemaps.
This commit is contained in:
parent
f01b52c44c
commit
0431664b18
3 changed files with 21 additions and 1 deletions
|
|
@ -5,6 +5,15 @@ See the RELEASENOTES file for a summary of changes in each release.
|
|||
Version 2.0.11 (in progress)
|
||||
============================
|
||||
|
||||
2013-09-15: wsfulton
|
||||
[R] Fix attempt to free a non-heap object in OUTPUT typemaps for:
|
||||
unsigned short *OUTPUT
|
||||
unsigned long *OUTPUT
|
||||
signed long long *OUTPUT
|
||||
char *OUTPUT
|
||||
signed char*OUTPUT
|
||||
unsigned char*OUTPUT
|
||||
|
||||
2013-09-12: wsfulton
|
||||
[Lua] Pull Git patch #62.
|
||||
1) Static members and static functions inside class can be accessed as
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
%module typemap_qualifier_strip
|
||||
|
||||
%typemap(freearg) int *ptr ""
|
||||
%typemap(freearg) int *const ptrConst ""
|
||||
%typemap(freearg) int const* constPtr ""
|
||||
|
||||
%typemap(in) int *ptr {
|
||||
int temp = 1234;
|
||||
$1 = &temp;
|
||||
|
|
|
|||
|
|
@ -114,12 +114,19 @@ signed int *OUTPUT,
|
|||
unsigned int *OUTPUT,
|
||||
short *OUTPUT,
|
||||
signed short *OUTPUT,
|
||||
unsigned short *OUTPUT,
|
||||
long *OUTPUT,
|
||||
signed long *OUTPUT,
|
||||
unsigned long *OUTPUT,
|
||||
long long *OUTPUT,
|
||||
signed long long *OUTPUT,
|
||||
unsigned long long *OUTPUT,
|
||||
float *OUTPUT,
|
||||
double *OUTPUT {}
|
||||
double *OUTPUT,
|
||||
char *OUTPUT,
|
||||
signed char *OUTPUT,
|
||||
unsigned char *OUTPUT
|
||||
{}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue