Prepare 1.0 alpha3 release.
[tagua/yd.git] / src / rubyutils.h
blobb4cd8352c555396abafaefb3aea039e110ee8b6b
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@gmail.com>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 */
11 extern "C" {
12 #include <ruby.h>
14 #include "point.h"
16 namespace Ruby {
18 Point value2point(VALUE);
19 VALUE point2value(const Point&);
21 #if 0
22 VALUE pcall(int* res, VALUE rcpt, ID id);
23 VALUE pcall(int* res, VALUE rcpt, ID id, VALUE arg1);
24 VALUE pcall(int* res, VALUE rcpt, ID id, VALUE arg1, VALUE arg2);
25 VALUE pcall(int* res, VALUE rcpt, ID id, VALUE arg1, VALUE arg2, VALUE arg3);
26 #endif