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

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

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

revision 3573 by schoenebeck, Tue Aug 27 21:36:53 2019 UTC revision 3577 by schoenebeck, Wed Aug 28 15:23:23 2019 UTC
# Line 693  namespace LinuxSampler { Line 693  namespace LinuxSampler {
693          /**          /**
694           * Script data type of the function's return value. If the function does           * Script data type of the function's return value. If the function does
695           * not return any value (void), then it returns EMPTY_EXPR here.           * not return any value (void), then it returns EMPTY_EXPR here.
696             *
697             * Some functions may have a different return type depending on the
698             * arguments to be passed to this function. That's what the @a args
699             * parameter is for, so that the method implementation can look ahead
700             * of what kind of parameters are going to be passed to the built-in
701             * function later on in order to decide which return value type would
702             * be used and returned by the function accordingly in that case.
703             *
704             * @param args - function arguments going to be passed for executing
705             *               this built-in function later on
706           */           */
707          virtual ExprType_t returnType() = 0;          virtual ExprType_t returnType(VMFnArgs* args) = 0;
708    
709          /**          /**
710           * Minimum amount of function arguments this function accepts. If a           * Minimum amount of function arguments this function accepts. If a

Legend:
Removed from v.3573  
changed lines
  Added in v.3577

  ViewVC Help
Powered by ViewVC