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

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

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

revision 3310 by schoenebeck, Mon Jun 5 18:40:18 2017 UTC revision 3311 by schoenebeck, Sat Jul 15 16:24:59 2017 UTC
# Line 293  namespace LinuxSampler { Line 293  namespace LinuxSampler {
293          return NULL;          return NULL;
294      }      }
295    
296        bool ScriptVM::isFunctionDisabled(VMFunction* fn, VMParserContext* ctx) {
297            ParserContext* parserCtx = dynamic_cast<ParserContext*>(ctx);
298            if (!parserCtx) return false;
299    
300            if (fn == m_fnMessage && parserCtx->userPreprocessorConditions.count("NKSP_NO_MESSAGE"))
301                return true;
302    
303            return false;
304        }
305    
306      std::map<String,VMIntRelPtr*> ScriptVM::builtInIntVariables() {      std::map<String,VMIntRelPtr*> ScriptVM::builtInIntVariables() {
307          return std::map<String,VMIntRelPtr*>();          return std::map<String,VMIntRelPtr*>();
308      }      }

Legend:
Removed from v.3310  
changed lines
  Added in v.3311

  ViewVC Help
Powered by ViewVC