/[svn]/linuxsampler/trunk/src/engines/gig/InstrumentScriptVMFunctions.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/InstrumentScriptVMFunctions.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3580 by schoenebeck, Sun Aug 18 00:06:04 2019 UTC revision 3581 by schoenebeck, Fri Aug 30 11:40:25 2019 UTC
# Line 21  namespace LinuxSampler { namespace gig { Line 21  namespace LinuxSampler { namespace gig {
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; }
# Line 38  namespace LinuxSampler { namespace gig { Line 38  namespace LinuxSampler { namespace gig {
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; }

Legend:
Removed from v.3580  
changed lines
  Added in v.3581

  ViewVC Help
Powered by ViewVC