Help for this page

Select Code to Download


  1. or download this
    h2xs -A -n SimpleTest
    
  2. or download this
    mkdir SimpleTest/SimpleLib
    
  3. or download this
    #include <string>
    #include <map>
    ...
            protected:
                    int myInt;
    };
    
  4. or download this
    #include "Simple.H"
    #include <string>
    ...
            myVec.push_back("123");
            return myVec;
    }
    
  5. or download this
    use ExtUtils::MakeMaker;
    
    ...
            $(LD) $(O_FILES) -o unitTests
            ';
    }
    
  6. or download this
    #include "Simple.H"
    #include <iostream>
    ...
    
            return 0;
    }
    
  7. or download this
    perl Makefile.PL
    make
    make bin
    
  8. or download this
    ./unitTests
    
  9. or download this
    14
    |abc|
    
  10. or download this
    use 5.008003;
    use ExtUtils::MakeMaker;
    ...
            cd SimpleLib && $(MAKE) $(PASSTHRU)
    ';
    }
    
  11. or download this
    # Ahh now we are getting to the meat and potatoes of this monster.
    # Most of this mess is generated by h2xs, but let's see what else we g
    +ot.
    ...
                    StringVector myVec
            OUTPUT:
                    RETVAL
    
  12. or download this
    TYPEMAP
    Simple      * T_PTROBJ
    ...
            SvSetSV($arg, newRV_noinc((SV *)hv));
        }
    
  13. or download this
    #undef init_tm
    #undef do_open
    ...
    #ifdef ENTER
    #undef ENTER
    #endif