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

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

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

revision 3584 by schoenebeck, Fri Aug 30 13:33:32 2019 UTC revision 3585 by schoenebeck, Fri Aug 30 17:51:24 2019 UTC
# Line 912  VMFnResult* CoreVMFunction_array_equal:: Line 912  VMFnResult* CoreVMFunction_array_equal::
912  ///////////////////////////////////////////////////////////////////////////  ///////////////////////////////////////////////////////////////////////////
913  // built-in script function:  search()  // built-in script function:  search()
914    
 ExprType_t CoreVMFunction_search::argType(vmint iArg) const {  
     return (iArg == 0) ? INT_ARR_EXPR : INT_EXPR;  
 }  
   
915  bool CoreVMFunction_search::acceptsArgType(vmint iArg, ExprType_t type) const {  bool CoreVMFunction_search::acceptsArgType(vmint iArg, ExprType_t type) const {
916      if (iArg == 0)      if (iArg == 0)
917          return isArray(type);          return isArray(type);
# Line 975  VMFnResult* CoreVMFunction_search::exec( Line 971  VMFnResult* CoreVMFunction_search::exec(
971  ///////////////////////////////////////////////////////////////////////////  ///////////////////////////////////////////////////////////////////////////
972  // built-in script function:  sort()  // built-in script function:  sort()
973    
 ExprType_t CoreVMFunction_sort::argType(vmint iArg) const {  
     return (iArg == 0) ? INT_ARR_EXPR : INT_EXPR;  
 }  
   
974  bool CoreVMFunction_sort::acceptsArgType(vmint iArg, ExprType_t type) const {  bool CoreVMFunction_sort::acceptsArgType(vmint iArg, ExprType_t type) const {
975      if (iArg == 0)      if (iArg == 0)
976          return isArray(type);          return isArray(type);

Legend:
Removed from v.3584  
changed lines
  Added in v.3585

  ViewVC Help
Powered by ViewVC