Geo-Calc-XS

 view release on metacpan or  search on metacpan

XS.xs  view on Meta::CPAN

}


MODULE = Geo::Calc::XS         PACKAGE = Geo::Calc::XS

PROTOTYPES: DISABLE

void new ( char *klass, ... )
    PREINIT:
        int add_count = items - 1;
    PPCODE:
    {
        SV *pv = NEWSV ( 0, sizeof( GCX ) );
        HV *options = newHV();
        int i = 0;
        SvPOK_only( pv );
        if( add_count % 2 != 0 )
            croak( "Please check your parameters while initiating the module\n" );

        for( i = 0; i < add_count; i = i + 2 ) {
            char *key = SvPV_nolen(ST(i + 1));



( run in 1.142 second using v1.01-cache-2.11-cpan-5511b514fd6 )