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

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

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

revision 2597 by schoenebeck, Thu Jun 5 19:39:12 2014 UTC revision 2598 by schoenebeck, Fri Jun 6 12:38:54 2014 UTC
# Line 8  Line 8 
8   */   */
9    
10  #include "common.h"  #include "common.h"
11    #include <iostream>
12    
13  namespace LinuxSampler {  namespace LinuxSampler {
14    
# Line 19  namespace LinuxSampler { Line 20  namespace LinuxSampler {
20          return const_cast<VMStringExpr*>( dynamic_cast<const VMStringExpr*>(this) );          return const_cast<VMStringExpr*>( dynamic_cast<const VMStringExpr*>(this) );
21      }      }
22    
23        void VMFunction::wrnMsg(const String& txt) {
24            std::cout << "[ScriptVM] " << txt << std::endl;
25        }
26    
27        void VMFunction::errMsg(const String& txt) {
28            std::cerr << "[ScriptVM] " << txt << std::endl;
29        }
30    
31  } // namespace LinuxSampler  } // namespace LinuxSampler

Legend:
Removed from v.2597  
changed lines
  Added in v.2598

  ViewVC Help
Powered by ViewVC