X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3-doc.git;a=blobdiff_plain;f=ionnotes%2Fnode4.html;fp=ionnotes%2Fnode4.html;h=67d2e2a9a0c4a3e7e6990fde4f54e6f0a745075f;hp=b97a875387b3b948c0aca833636d2b4962c17cc1;hb=6c79ccf7ddf25af66675865badef0b8f6d0fee78;hpb=ff50b32b3f2fb8bebd445decad84eae135113d0e diff --git a/ionnotes/node4.html b/ionnotes/node4.html index b97a875..67d2e2a 100644 --- a/ionnotes/node4.html +++ b/ionnotes/node4.html @@ -126,11 +126,11 @@ C side of Ion and Lua:   t -ExtlTab +ExtlTab Reference to Lua table f -ExltFn +ExltFn Reference to Lua function. o @@ -195,7 +195,7 @@ initialisation and deinitialisation code.

You've seen the terms level 1 and 2 call handler mentioned above. - + The Lua support code uses two so called call handlers to convert and check the types of parameters passed from Lua to C and back to Lua. The first one of these call handlers is the same for all exported functions and @@ -230,10 +230,10 @@ supported by the generated L2 call handlers).

The functions -extl_call, -extl_call_named, -extl_dofile and -extl_dostring +extl_call, +extl_call_named, +extl_dofile and +extl_dostring call a referenced function (ExtlFn), named function, execute a string and a file, respectively. The rest of the parameters for all these functions are similar. The 'spec' argument is a string of identifier @@ -249,7 +249,7 @@ passing succeeded or not.

Sometimes it is necessary to block calls to all but a limited set of Ion functions. This can be accomplished with -extl_set_safelist. +extl_set_safelist. The parameter to this function is a NULL-terminated array of strings and the return value is a similar old safelist. The call extl_set_safelist(NULL) removes any safelist and allows @@ -263,7 +263,7 @@ calls to all exported functions.

Configuration files should be read as before with the function -read_config_for +read_config_for except that the list of known options is no longer present.