mb_get_parent |
![]() ![]() |
LPINTERP mb_get_parent( mb_interpreter_t* s, bool_t bTop )
Returns the parent interpreter or NULL if this is a parent.
Example
mb_interpreter_t* bas; mb_interpreter_t* sub;
if ( mb_open( &bas ) == MB_FUNC_OK ) { mb_open_sub( &sub, bas ); . . . } // This will close both bas and sub mb_close( &bas );
|