Displaying 1 result from an estimated 1 matches for "_foo_h_".
2008 Feb 02
1
Ruby++ FFI (theoretical)
...ential FFI for our theoretical Ruby++ ?
I''m not sure how to do mixins, though. Some sort of special directive?
Or just add it to inheritance chain?
Anyway, this is just a rough prototype. No attempt at an actual
implementation yet.
Regards,
Dan
// foo.h - Function prototypes
#define _FOO_H_
using namespace ruby;
// Subclass Object
class Foo : public RubyObject {
public:
// Constructor and Destructor
Foo(); // constructor
~Foo(); // destructor
// Instance Methods
VALUE method_a();
VALUE method_b(VALUE);
// Singleton Methods...