contents   index   previous   next



SE_RETURN

This is the place in which the return value from your wrapper function is to be stored. This discussion will only be minimal for now, a more complete discussion of this object can be found later in the chapter. SE_RETURN mainly works with the SE_VALUE member. For the return, the SE_VALUE is the value to be returned. That is to say, if you want to return the value 10, you would write:

 

sePutNumber(se, SE_RETURN,SE_VALUE, 10);

 

The object has four secondary members, all of which are booleans.You set one (and only one) of them to TRUE to indicate a special return condition. They are:

 


SE_ERROR

SE_EXIT

SE_YIELD

SE_SUSPEND