added STIX_STACK_SETRETTORCV()

This commit is contained in:
hyunghwan.chung
2016-08-13 06:46:14 +00:00
parent 41d1bb56a0
commit 00b11b74cd
4 changed files with 56 additions and 36 deletions

View File

@ -908,7 +908,7 @@ struct stix_t
/* you can't access arguments and receiver after this macro.
* also you must not call this macro more than once */
#define STIX_STACK_SETRET(stix,nargs,retv) (STIX_STACK_POPS(stix, nargs), STIX_STACK_SETTOP(stix, retv))
#define STIX_STACK_SETRETTORCV(stix,nargs) (STIX_STACK_POPS(stix, nargs))
/* =========================================================================
* STIX VM LOGGING
* ========================================================================= */