/[svn]/linuxsampler/trunk/src/scriptvm/CoreVMFunctions.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/CoreVMFunctions.h

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

revision 3550 by schoenebeck, Fri May 26 18:30:42 2017 UTC revision 3551 by schoenebeck, Thu Aug 1 10:22:56 2019 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (c) 2014-2017 Christian Schoenebeck   * Copyright (c) 2014-2019 Christian Schoenebeck
3   *   *
4   * http://www.linuxsampler.org   * http://www.linuxsampler.org
5   *   *
# Line 133  public: Line 133  public:
133   */   */
134  class CoreVMFunction_exit : public VMEmptyResultFunction {  class CoreVMFunction_exit : public VMEmptyResultFunction {
135  public:  public:
136      int minRequiredArgs() const { return 0; }      CoreVMFunction_exit(ScriptVM* vm) : vm(vm) {}
137      int maxAllowedArgs() const { return 0; }      int minRequiredArgs() const OVERRIDE { return 0; }
138      bool acceptsArgType(int iArg, ExprType_t type) const { return false; }      int maxAllowedArgs() const OVERRIDE;
139      ExprType_t argType(int iArg) const { return INT_EXPR; /*whatever*/ }      bool acceptsArgType(int iArg, ExprType_t type) const OVERRIDE;
140        ExprType_t argType(int iArg) const OVERRIDE { return INT_EXPR; }
141      VMFnResult* exec(VMFnArgs* args);      VMFnResult* exec(VMFnArgs* args);
142    protected:
143        ScriptVM* vm;
144  };  };
145    
146  /**  /**

Legend:
Removed from v.3550  
changed lines
  Added in v.3551

  ViewVC Help
Powered by ViewVC