- or download this
h2xs -A -n SimpleTest
- or download this
mkdir SimpleTest/SimpleLib
- or download this
#include <string>
#include <map>
...
protected:
int myInt;
};
- or download this
#include "Simple.H"
#include <string>
...
myVec.push_back("123");
return myVec;
}
- or download this
use ExtUtils::MakeMaker;
...
$(LD) $(O_FILES) -o unitTests
';
}
- or download this
#include "Simple.H"
#include <iostream>
...
return 0;
}
- or download this
perl Makefile.PL
make
make bin
- or download this
./unitTests
- or download this
14
|abc|
- or download this
use 5.008003;
use ExtUtils::MakeMaker;
...
cd SimpleLib && $(MAKE) $(PASSTHRU)
';
}
- 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
- or download this
TYPEMAP
Simple * T_PTROBJ
...
SvSetSV($arg, newRV_noinc((SV *)hv));
}
- or download this
#undef init_tm
#undef do_open
...
#ifdef ENTER
#undef ENTER
#endif