Marshaling Rules for user_marshal and wire_marshal

The OSF-DCE specification for marshaling embedded pointer types requires that you observe the following restrictions when you implement the <type>_UserSize, <type>_UserMarshal, and <type>_UserUnMarshal functions. (The rules and examples given here are for marshaling. However, your sizing and unmarshaling routines must follow the same restrictions):

The effect of these restrictions is that the types defined with the wire_marshal or user_marshal attributes can be freely embedded in other types.

See Also

wire_marshal, user_marshal, The type_UserSize Function, The type_UserMarshal Function, The type_UserUnMarshal Function, The type_UserFree Function