/[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 3075 by schoenebeck, Thu Dec 15 12:47:45 2016 UTC revision 3076 by schoenebeck, Thu Jan 5 18:00:52 2017 UTC
# Line 218  public: Line 218  public:
218  };  };
219    
220  /**  /**
221     * Implements the built-in in_range() script function.
222     */
223    class CoreVMFunction_in_range : public VMIntResultFunction {
224    public:
225        int minRequiredArgs() const { return 3; }
226        int maxAllowedArgs() const { return 3; }
227        bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR; }
228        ExprType_t argType(int iArg) const { return INT_EXPR; }
229        VMFnResult* exec(VMFnArgs* args);
230    };
231    
232    /**
233   * Implements the built-in sh_left() script function.   * Implements the built-in sh_left() script function.
234   */   */
235  class CoreVMFunction_sh_left : public VMIntResultFunction {  class CoreVMFunction_sh_left : public VMIntResultFunction {

Legend:
Removed from v.3075  
changed lines
  Added in v.3076

  ViewVC Help
Powered by ViewVC