Paul Pogonyshev wrote:
Johan Dahlin wrote:
[...]
> I'm leaning towards using the "ownership" terminology instead of "transfer".
typedef enum {
GI_OWNERSHIP_CALLER, /* caller owns it, caller should free it after use */
GI_OWNERSHIP_CALLEE /* callee owns it, caller should leave it as it is */
} GITypeOwnership;
Just as a nitpick, these two names look very similar and quite confusing
for non-native English speakers. Maybe you could come up with something
different, especially in place of 'callee'?
Agreed, I'm open to suggestions.
caller/subroutine ?
Johan
_______________________________________________
language-bindings mailing list [email protected]
http://mail.gnome.org/mailman/listinfo/language-bindings