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 |