pub type ProcessRetTmp<CGlueCtx> = PhantomData<ProcessRetTmpPhantom<CGlueCtx>>;
Expand description

Type definition for temporary return value wrapping storage.

The trait does not use return wrapping, thus is a typedef to PhantomData.

Note that cbindgen will generate wrong structures for this type. It is important to go inside the generated headers and fix it - all RetTmp structures without a body should be completely deleted, both as types, and as fields in the groups/objects. If C++11 templates are generated, it is important to define a custom type for CGlueTraitObj that does not have ret_tmp defined, and change all type aliases of this trait to use that particular structure.

Aliased Type§

struct ProcessRetTmp<CGlueCtx>;