Parent Directory | Revision Log
* ScriptVM (WIP): Implemented execution of script event handlers "note" and "release". * ScriptVM (WIP): Implemented built-in script function "play_note()" (only two of the max. four function arguments are currently implemented yet though). * ScriptVM (WIP): Fixed incorrect handling of suspended scripts. * Bumped version (1.0.0.svn43).
1 | /* |
2 | * Copyright (c) 2014 Christian Schoenebeck |
3 | * |
4 | * http://www.linuxsampler.org |
5 | * |
6 | * This file is part of LinuxSampler and released under the same terms. |
7 | * See README file for details. |
8 | */ |
9 | |
10 | #include "common.h" |
11 | |
12 | namespace LinuxSampler { |
13 | |
14 | VMIntExpr* VMExpr::asInt() const { |
15 | return const_cast<VMIntExpr*>( dynamic_cast<const VMIntExpr*>(this) ); |
16 | } |
17 | |
18 | VMStringExpr* VMExpr::asString() const { |
19 | return const_cast<VMStringExpr*>( dynamic_cast<const VMStringExpr*>(this) ); |
20 | } |
21 | |
22 | } // namespace LinuxSampler |
ViewVC Help | |
Powered by ViewVC |