1 |
/* |
/* |
2 |
* Copyright (c) 2014-2017 Christian Schoenebeck |
* Copyright (c) 2014-2019 Christian Schoenebeck |
3 |
* |
* |
4 |
* http://www.linuxsampler.org |
* http://www.linuxsampler.org |
5 |
* |
* |
133 |
*/ |
*/ |
134 |
class CoreVMFunction_exit : public VMEmptyResultFunction { |
class CoreVMFunction_exit : public VMEmptyResultFunction { |
135 |
public: |
public: |
136 |
int minRequiredArgs() const { return 0; } |
CoreVMFunction_exit(ScriptVM* vm) : vm(vm) {} |
137 |
int maxAllowedArgs() const { return 0; } |
int minRequiredArgs() const OVERRIDE { return 0; } |
138 |
bool acceptsArgType(int iArg, ExprType_t type) const { return false; } |
int maxAllowedArgs() const OVERRIDE; |
139 |
ExprType_t argType(int iArg) const { return INT_EXPR; /*whatever*/ } |
bool acceptsArgType(int iArg, ExprType_t type) const OVERRIDE; |
140 |
|
ExprType_t argType(int iArg) const OVERRIDE { return INT_EXPR; } |
141 |
VMFnResult* exec(VMFnArgs* args); |
VMFnResult* exec(VMFnArgs* args); |
142 |
|
protected: |
143 |
|
ScriptVM* vm; |
144 |
}; |
}; |
145 |
|
|
146 |
/** |
/** |