contents   index   previous   next



seMakeStack

 

syntax:

   seobject

seMakeStack(secontext se);

where:

se the context to create the object in

 

return:

A handle to the created object (stack).

 

description:

This call creates a new stack. The returned object handle follows the standard object lifetime rules described in Lifetimes.

 

A stack is an object and can be used wherever an object can be used. However, you should not use stacks as just another type of object, as stacks are significantly slower to manipulate than objects. Stacks do have the benefit of guaranteeing that members will remain in the order they are created, so that SE_INDEX(0) is always the first member created, SE_INDEX(1) is the second, and so forth. Regular objects do not have this property. Stacks are used when needing to pass a list of items to the API, such as the parameters or the scope chain to seEval.

 

see:

seMakeObject, seEval

 


sePutWrapper