Help for this page

Select Code to Download


  1. or download this
    class Foo {
        void some_method(int arg) {
            do_something;
        }
    };
    
  2. or download this
    void some_method(SV* self, int arg) {
        // can I store the pointer as IV?
    ...
        Foo* obj = (Foo*) SvIV(inner);
        obj->some_method(arg);
    }