X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=doc%2Fionnotes%2Fnode5.html;fp=doc%2Fionnotes%2Fnode5.html;h=0000000000000000000000000000000000000000;hb=a6561c9679cd701b0d50c3cfd44e4664f7df2b2f;hp=45b1c2964cb30faca198b2e78deb86f0465f0e8e;hpb=cd09055902de482a1be019bf4b4efdae64c98d35;p=ion3.git diff --git a/doc/ionnotes/node5.html b/doc/ionnotes/node5.html deleted file mode 100644 index 45b1c29..0000000 --- a/doc/ionnotes/node5.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - -
-- -
-To keep Ion's code as simple as possible yet safe, there are restrictions -when the WObj -destroy_obj -function that calls watches, the deinit routine and frees memory may -be called directly. In all other cases the mainloop_defer_destroy -function should be used to defer the call of destroy_obj until -Ioncore returns to its main event loop. - -
-Calling the destroy_obj function directly is allowed in the -following cases: - -
-If there are no serious side effects from deferring destroying the -object or you're unsure whether it is safe to destroy the object -immediately, use mainloop_defer_destroy. - -
- -
-The following rules should apply to using strings as return values and -parameters to functions. - -
-
Type | -Return value | -Parameter | -
const char* | -The string is owned by the called function - and the caller is only quaranteed short-term read access to the - string. | -The called function may only read the string during its execution. - For further reference a copy must be made. | -
char* | -The string is the caller's responsibility and it - must free it when no longer needed. | -The called function may modify the string but the ``owner'' of - the string is case-dependant. | -
- -
- -
- - - -