contents   index   previous   next



seSetCallbacks

 

syntax:

   sebool

seSetCallbacks(secontext se,

               seobject obj,

               semember mem,

           const struct seObjectCallbacks *cbs);

where:

se the context the object is a part of

 

obj the object half of the Object,Member pair

 

mem the member half of the Object,Member pair

 

cbs a pointer to the callbacks structure

 

return:

True. This will only return non-TRUE if compiling with JSE_MIN_OBJ_SIZE and if there is a non-recoverable memory allocation error.

 

description:

This routine sets the object callbacks for an object. If the variable is not an object, nothing is done. Otherwise, the internal table of object callbacks for the object is changed to point to the given table. See DYNAMIC OBJECTS for a complete discussion of dynamic objects and object callbacks.

 

see:

seEnableDynamicMethod

 


seEnableDynamicMethod