Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/Ruby_bindings/MDRubyCore.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations) (download) (as text)
Sat Sep 3 06:22:57 2011 UTC (12 years, 8 months ago) by toshinagata1964
File MIME type: text/x-chdr
File size: 1078 byte(s)
initial import
1 /*
2 * MDRubyCore.h
3 * Alchemusica
4 *
5 * Created by Toshi Nagata on 08/03/19.
6 * Copyright 2008-2011 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 __MDRubyCore__
19 #define __MDRubyCore__
20
21 VALUE Ruby_GetInterruptFlag(void);
22 VALUE Ruby_SetInterruptFlag(VALUE val);
23 VALUE Ruby_ObjectAtIndex(VALUE ary, int idx);
24 VALUE Ruby_funcall2_protect(VALUE recv, ID mid, int argc, VALUE *argv, int *status);
25
26 char *Ruby_FileStringValuePtr(VALUE *valp);
27 #define FileStringValuePtr(val) Ruby_FileStringValuePtr(&val)
28 VALUE Ruby_NewFileStringValue(const char *fstr);
29 VALUE Ruby_ObjToStringObj(VALUE val);
30
31 #include <ruby.h>
32
33 #endif /* __MDRubyCore__ */

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