Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/Ruby_bindings/MDRuby.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 100 - (show annotations) (download) (as text)
Sun Sep 10 08:50:22 2017 UTC (6 years, 8 months ago) by toshinagata1964
File MIME type: text/x-chdr
File size: 1324 byte(s)
Scheduling of the MIDI events are slightly modified.
1 /*
2 * MDRuby.h
3 * Alchemusica
4 *
5 * Created by Toshi Nagata on 08/03/19.
6 * Copyright 2008-2016 Toshi Nagata. All rights reserved.
7 *
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation version 2 of the License.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16 */
17
18 #ifndef __MDRuby__
19 #define __MDRuby__
20
21 #include "MDHeaders.h"
22
23 #include <ruby.h>
24 #include "ruby/version.h" /* for RUBY_BIRTH_YEAR etc. */
25 #include "ruby/encoding.h" /* for rb_str_encode() etc. */
26 #include "ruby/node.h" /* for rb_add_event_hook() */
27
28 #ifndef RSTRING_PTR
29 #define RSTRING_PTR(_s) (RSTRING(_s)->ptr)
30 #endif
31 #ifndef RSTRING_LEN
32 #define RSTRING_LEN(_s) (RSTRING(_s)->len)
33 #endif
34
35 #ifndef RARRAY_PTR
36 #define RARRAY_PTR(_a) (RARRAY(_a)->ptr)
37 #endif
38 #ifndef RARRAY_LEN
39 #define RARRAY_LEN(_a) (RARRAY(_a)->len)
40 #endif
41
42 #include "MDRubyExtern.h"
43 #include "MDRubyEventSet.h"
44 #include "MDRubyCore.h"
45 #include "MDRubySequence.h"
46 #include "MDRubyTrack.h"
47 #include "MDRubyPointer.h"
48
49 #include "ruby_dialog.h"
50
51 #endif /* __MDRuby__ */

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26