Difference between revisions of "Studio:Can STRIDE marshal both data and pointers?"

From STRIDE Wiki
Jump to: navigation, search
Line 1: Line 1:
STRIDE does not marshal both the pointer value and the data. You have to pick on of the two. If a pointer is defined as void or the scl_ptr_opaque pragma is applied the pointer value is marshaled otherwise the data the pointer points to is marshaled. Opaque pointers can be passed to other functions or helper function to retrieve the data to which it points.
+
STRIDE does not marshal both the pointer value and the data. You have to pick one of the two. If a pointer is defined as void or the scl_ptr_opaque pragma is applied the pointer value is marshaled otherwise the data the pointer points to is marshaled. Opaque pointers can be passed to other functions or helper function to retrieve the data to which it points.
  
  
 
[[Category:Scripting]]
 
[[Category:Scripting]]
 
[[Category:SCL]]
 
[[Category:SCL]]

Revision as of 14:09, 4 February 2008

STRIDE does not marshal both the pointer value and the data. You have to pick one of the two. If a pointer is defined as void or the scl_ptr_opaque pragma is applied the pointer value is marshaled otherwise the data the pointer points to is marshaled. Opaque pointers can be passed to other functions or helper function to retrieve the data to which it points.