8 |
*/ |
*/ |
9 |
|
|
10 |
#include "common.h" |
#include "common.h" |
11 |
|
#include <iostream> |
12 |
|
|
13 |
namespace LinuxSampler { |
namespace LinuxSampler { |
14 |
|
|
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 |