mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-09-28 06:07:37 +00:00
multiple return value support added to VM
This commit is contained in:
@@ -26,7 +26,7 @@ typedef enum {
|
||||
#define readFlag(x, flag) (x & (1u << flag))
|
||||
#define setFlagOn(x, flag) (x |= (1u << flag))
|
||||
|
||||
typedef CValue (*CosmoCFunction)(CState *state, int argCount, CValue *args);
|
||||
typedef int (*CosmoCFunction)(CState *state, int argCount, CValue *args);
|
||||
|
||||
typedef struct CObj {
|
||||
CObjType type;
|
||||
|
Reference in New Issue
Block a user