File: rubyutils.h

package info (click to toggle)
tagua 1.0~alpha2-9
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 7,924 kB
  • ctags: 7,180
  • sloc: cpp: 26,148; ansic: 13,039; makefile: 228; ruby: 87; sh: 39
file content (28 lines) | stat: -rw-r--r-- 771 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
  Copyright (c) 2006 Paolo Capriotti <p.capriotti@gmail.com>
            (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
*/

extern "C" {
#include <ruby.h>
}
#include "point.h"

namespace Ruby {
  
Point value2point(VALUE);
VALUE point2value(const Point&);

#if 0
VALUE pcall(int* res, VALUE rcpt, ID id);
VALUE pcall(int* res, VALUE rcpt, ID id, VALUE arg1);
VALUE pcall(int* res, VALUE rcpt, ID id, VALUE arg1, VALUE arg2);
VALUE pcall(int* res, VALUE rcpt, ID id, VALUE arg1, VALUE arg2, VALUE arg3);
#endif

}