You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For new API, the ownership rules and lifetimes of all applicable struct fields, arguments and return values need to be well defined.
Details for the common cases are in #16 (references) and #8 (blueprint structs).
A common case to watch out for is char * and other arrays; especially ones referenced from structs -- AFAIK, in the current API we still sometimes assume they are statically allocated and constant.
The text was updated successfully, but these errors were encountered:
This is already in the devguide.
For new API, the ownership rules and lifetimes of all applicable struct fields, arguments and return values need to be well defined.
Details for the common cases are in #16 (references) and #8 (blueprint structs).
A common case to watch out for is
char *
and other arrays; especially ones referenced from structs -- AFAIK, in the current API we still sometimes assume they are statically allocated and constant.The text was updated successfully, but these errors were encountered: