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
|
|
@ -10,7 +10,7 @@ checkequal(isNull(null), %T, "func(null)");
|
|||
// Test on variable
|
||||
expected_foo_addr = getFooAddress();
|
||||
foo_addr = swig_this(pfoo_get());
|
||||
checkequal(uint32(foo_addr), expected_foo_addr, "swig_this(pfoo_get())");
|
||||
checkequal(foo_addr, expected_foo_addr, "swig_this(pfoo_get())");
|
||||
|
||||
pfoo = swig_ptr(foo_addr);
|
||||
checkequal(equalFooPointer(pfoo), %T, "equalFooPointer(pfoo)");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue