/[svn]
ViewVC logotype

Revision 3577


Jump to revision: Previous Next
Author: schoenebeck
Date: Wed Aug 28 15:23:23 2019 UTC (4 years, 7 months ago)
Changed paths: 8
Log Message:
NKSP: Introducing variable return type for built-in functions.

* Changed method signature VMFunction::returnType() ->
  VMFunction::returnType(VMFnArgs* args) to allow built-in
  functions to proclaim a different result value type depending
  on the arguments to be passed to the function.

* Built-in script function abs() optionally accepts and returns
  real number.

* Built-in script functions min() and max() optionally accept
  real number arguments and return real number as result in that
  case.

* Added real number test cases for the built-in abs(), min() and
  max() functions.

* Bumped version (2.1.1.svn7).


Changed paths

Path Details
Directorylinuxsampler/trunk/ChangeLog modified , text changed
Directorylinuxsampler/trunk/configure.ac modified , text changed
Directorylinuxsampler/trunk/src/engines/common/InstrumentScriptVMFunctions.h modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/CoreVMFunctions.cpp modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/CoreVMFunctions.h modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/common.h modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/tests/NKSPTest.cpp modified , text changed
Directorylinuxsampler/trunk/src/scriptvm/tree.cpp modified , text changed

  ViewVC Help
Powered by ViewVC