SWISH-3
view release on metacpan or search on metacpan
get_config_class = 14
set_analyzer_class = 15
get_analyzer_class = 16
set_regex = 17
get_regex = 18
_x_placeholder = 19
get_stash = 20
PREINIT:
SV *RETVAL;
char *class;
PPCODE:
{
//warn("number of items %d for ix %d", items, ix);
START_SET_OR_GET_SWITCH
// set_config
case 1: if (!sv_derived_from(ST(1), CONFIG_CLASS)) {
croak("usage: must be a %s object", CONFIG_CLASS);
}
XS/Analyzer.xs view on Meta::CPAN
# accessors/mutators
void
_set_or_get(self, ...)
swish_Analyzer* self;
ALIAS:
set_regex = 1
get_regex = 2
PREINIT:
SV* stash;
SV* RETVAL;
PPCODE:
{
//warn("number of items %d for ix %d", items, ix);
START_SET_OR_GET_SWITCH
// set_regex
case 1: sp_SV_is_qr(ST(1));
self->regex = ST(1);
break;
XS/Config.xs view on Meta::CPAN
set_parsers = 7
get_parsers = 8
set_aliases = 9
get_aliases = 10
set_index = 11
get_index = 12
set_misc = 13
get_misc = 14
PREINIT:
SV* RETVAL;
PPCODE:
{
//warn("number of items %d for ix %d", items, ix);
START_SET_OR_GET_SWITCH
// set properties
case 1: croak("TODO");
break;
( run in 1.474 second using v1.01-cache-2.11-cpan-5511b514fd6 )