scilab: fix pointer utility functions (return double instead of uint32)

This commit is contained in:
Simon Marchetto 2014-06-16 12:06:30 +02:00
commit 8afd002abe
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ bool isNull(void *p) { return p == NULL; }
int foo = 3;
int *pfoo = &foo;
unsigned long getFooAddress() { return (unsigned long) pfoo; }
double getFooAddress() { return (double) (unsigned long) pfoo; }
bool equalFooPointer(void *p) { return p == pfoo; }
%}