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

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

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

revision 3276 by schoenebeck, Tue May 30 15:43:39 2017 UTC revision 3277 by schoenebeck, Mon Jun 5 18:40:18 2017 UTC
# Line 420  namespace LinuxSampler { Line 420  namespace LinuxSampler {
420          InstrumentScriptVM* m_vm;          InstrumentScriptVM* m_vm;
421      };      };
422    
423        class InstrumentScriptVMFunction_abort : public VMEmptyResultFunction {
424        public:
425            InstrumentScriptVMFunction_abort(InstrumentScriptVM* parent);
426            int minRequiredArgs() const { return 1; }
427            int maxAllowedArgs() const { return 1; }
428            bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR; }
429            ExprType_t argType(int iArg) const { return INT_EXPR; }
430            VMFnResult* exec(VMFnArgs* args) OVERRIDE;
431        protected:
432            InstrumentScriptVM* m_vm;
433        };
434    
435  } // namespace LinuxSampler  } // namespace LinuxSampler
436    
437  #endif // LS_INSTRSCRIPTVMFUNCTIONS_H  #endif // LS_INSTRSCRIPTVMFUNCTIONS_H

Legend:
Removed from v.3276  
changed lines
  Added in v.3277

  ViewVC Help
Powered by ViewVC