Tentative MiniShogi implementation over move generator.
[tagua/yd.git] / src / rubyutils.h
blob9c0065904bf1c926827fa262d6ce545a826f6b23
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 <core/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