scilab: fix pointer utility functions (return double instead of uint32)
This commit is contained in:
parent
72c6552c2d
commit
8afd002abe
2 changed files with 2 additions and 2 deletions
|
|
@ -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; }
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue