/[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 3292 by schoenebeck, Mon Jun 5 18:40:18 2017 UTC revision 3293 by schoenebeck, Tue Jun 27 22:19:19 2017 UTC
# Line 432  namespace LinuxSampler { Line 432  namespace LinuxSampler {
432          InstrumentScriptVM* m_vm;          InstrumentScriptVM* m_vm;
433      };      };
434    
435        class InstrumentScriptVMFunction_fork : public VMIntResultFunction {
436        public:
437            InstrumentScriptVMFunction_fork(InstrumentScriptVM* parent);
438            int minRequiredArgs() const { return 0; }
439            int maxAllowedArgs() const { return 2; }
440            bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR;}
441            ExprType_t argType(int iArg) const { return INT_EXPR; }
442            VMFnResult* exec(VMFnArgs* args);
443        protected:
444            InstrumentScriptVM* m_vm;
445        };
446    
447  } // namespace LinuxSampler  } // namespace LinuxSampler
448    
449  #endif // LS_INSTRSCRIPTVMFUNCTIONS_H  #endif // LS_INSTRSCRIPTVMFUNCTIONS_H

Legend:
Removed from v.3292  
changed lines
  Added in v.3293

  ViewVC Help
Powered by ViewVC