C-TinyCompiler
view release on metacpan or search on metacpan
lib/C/TinyCompiler.xs view on Meta::CPAN
/* Call it with no inputs and no outputs */
p_func();
void
_get_symbols(state, ...)
TCCStateObj * state
PREINIT:
char * symbol_name;
void * symbol_pointer;
int i;
PPCODE:
EXTEND(SP, 2*items);
for (i = 1; i < items; i++) {
/* Get the tentative name */
symbol_name = SvPVbyte_nolen(ST(i));
/* Get a pointer to the symbol */
symbol_pointer = tcc_get_symbol(state, symbol_name);
/* croak if the symbol retrieval was not successful, as this is
* likely to be the result of a typo on the programmer's part */
( run in 1.548 second using v1.01-cache-2.11-cpan-71847e10f99 )