Studio:Can STRIDE marshal both data and pointers?: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
In Perl, use the <tt>$main::ascript -> </tt>syntax. | In Perl, use the <tt>$main::ascript -> </tt>syntax. | ||
[[Category:KB]] |
Revision as of 23:01, 21 June 2007
When memory is allocated inside a C function, can STRIDE marshal the data and the pointer to the memory-allocated data so that it can later be freed?
STRIDE does not marshal both the pointer value and the data; you can pass an opaque pointer then use a helper function to retrieve the data to which it points.
In Perl, use the $main::ascript -> syntax.