/[svn]/linuxsampler/trunk/src/engines/gig/InstrumentScriptVM.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/InstrumentScriptVM.cpp

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

revision 3227 by schoenebeck, Mon Jan 9 18:39:35 2017 UTC revision 3228 by schoenebeck, Sun May 28 14:46:14 2017 UTC
# Line 14  Line 14 
14  namespace LinuxSampler { namespace gig {  namespace LinuxSampler { namespace gig {
15    
16      InstrumentScriptVM::InstrumentScriptVM() :      InstrumentScriptVM::InstrumentScriptVM() :
17          LinuxSampler::InstrumentScriptVM(), m_fnGigSetDimZone(this)          LinuxSampler::InstrumentScriptVM(), m_fnGigSetDimZone(this),
18            m_fnSameRegion(this)
19      {      {
20      }      }
21    
# Line 64  namespace LinuxSampler { namespace gig { Line 65  namespace LinuxSampler { namespace gig {
65      VMFunction* InstrumentScriptVM::functionByName(const String& name) {      VMFunction* InstrumentScriptVM::functionByName(const String& name) {
66          // built-in script functions of this class          // built-in script functions of this class
67          if (name == "gig_set_dim_zone") return &m_fnGigSetDimZone;          if (name == "gig_set_dim_zone") return &m_fnGigSetDimZone;
68            if (name == "same_region") return &m_fnSameRegion;
69    
70          // built-in script functions of derived VM class          // built-in script functions of derived VM class
71          return ::LinuxSampler::InstrumentScriptVM::functionByName(name);          return ::LinuxSampler::InstrumentScriptVM::functionByName(name);

Legend:
Removed from v.3227  
changed lines
  Added in v.3228

  ViewVC Help
Powered by ViewVC