contents   index   previous   next



sePutWrapper

 

syntax:

   sebool

sePutWrapper(secontext se,

             seobject obj,

             semember mem,

             seconstcharptr name,

             seWrapper wrapper_func,

             int minArgs,

             int maxArgs,

             uword32 funcFlags,

             uword32 varFlags,

             void *data); 

where:

se the context to put the wrapper to

 

obj the object half of the Object,Member pair

 

mem the member half of the Object,Member pair

 

name the name of the function for error reporting

 

wrapper_func the function

 

minArgs the minimum arguments to the function

 

maxArgs the maximum arguments to the function

 

funcFlags the function flags

 

varFlags the variable-type flags

 

data data associated with the function.

 

return:

A boolean, TRUE if the put was successful.

 

description:

This call turns a variable into a wrapper function. See the "Wrapper functions" chapter for complete details about wrapper functions. The parameters to this function correspond to the parameters to the SE_FUNCTION() library table entry. Since you specify the exact Object,Member location to put the new wrapper function in, the name parameter does not indicate where to put the function. It is used if an error message occurs related to the function.

 

see:

None

 


seSetCallbacks