21 |
* |
* |
22 |
* gig_set_dim_zone(event_id, dimension, zone) |
* gig_set_dim_zone(event_id, dimension, zone) |
23 |
*/ |
*/ |
24 |
class InstrumentScriptVMFunction_gig_set_dim_zone : public VMEmptyResultFunction { |
class InstrumentScriptVMFunction_gig_set_dim_zone FINAL : public VMEmptyResultFunction { |
25 |
public: |
public: |
26 |
InstrumentScriptVMFunction_gig_set_dim_zone(InstrumentScriptVM* parent); |
InstrumentScriptVMFunction_gig_set_dim_zone(InstrumentScriptVM* parent); |
27 |
vmint minRequiredArgs() const OVERRIDE { return 3; } |
vmint minRequiredArgs() const OVERRIDE { return 3; } |
38 |
* |
* |
39 |
* same_region(key1, key2) |
* same_region(key1, key2) |
40 |
*/ |
*/ |
41 |
class InstrumentScriptVMFunction_same_region : public VMIntResultFunction { |
class InstrumentScriptVMFunction_same_region FINAL : public VMIntResultFunction { |
42 |
public: |
public: |
43 |
InstrumentScriptVMFunction_same_region(InstrumentScriptVM* parent); |
InstrumentScriptVMFunction_same_region(InstrumentScriptVM* parent); |
44 |
|
StdUnit_t returnUnitType(VMFnArgs* args) OVERRIDE { return VM_NO_UNIT; } |
45 |
|
bool returnsFinal(VMFnArgs* args) OVERRIDE { return false; } |
46 |
vmint minRequiredArgs() const OVERRIDE { return 2; } |
vmint minRequiredArgs() const OVERRIDE { return 2; } |
47 |
vmint maxAllowedArgs() const OVERRIDE { return 2; } |
vmint maxAllowedArgs() const OVERRIDE { return 2; } |
48 |
bool acceptsArgType(vmint iArg, ExprType_t type) const OVERRIDE { return INT_EXPR; } |
bool acceptsArgType(vmint iArg, ExprType_t type) const OVERRIDE { return INT_EXPR; } |