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 |