From: Emmanuel Rodriguez Date: Tue, 28 Apr 2009 17:19:52 +0000 (+0200) Subject: This file is autogenerated X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8149173609a01fbcd93ab599897739af72071315;p=libchamplain This file is autogenerated --- diff --git a/bindings/perl/Champlain/xs/ChamplainBaseMarker.c b/bindings/perl/Champlain/xs/ChamplainBaseMarker.c deleted file mode 100644 index b909501..0000000 --- a/bindings/perl/Champlain/xs/ChamplainBaseMarker.c +++ /dev/null @@ -1,86 +0,0 @@ -/* - * This file was generated automatically by ExtUtils::ParseXS version 2.19 from the - * contents of ChamplainBaseMarker.xs. Do not edit this file, edit ChamplainBaseMarker.xs instead. - * - * ANY CHANGES MADE HERE WILL BE LOST! - * - */ - -#line 1 "xs/ChamplainBaseMarker.xs" -#include "champlain-perl.h" - - -#ifndef PERL_UNUSED_VAR -# define PERL_UNUSED_VAR(var) if (0) var = var -#endif - -#line 18 "xs/ChamplainBaseMarker.c" - -XS(XS_Champlain__BaseMarker_new); /* prototype to pass -Wmissing-prototypes */ -XS(XS_Champlain__BaseMarker_new) -{ -#ifdef dVAR - dVAR; dXSARGS; -#else - dXSARGS; -#endif - if (items != 1) - Perl_croak(aTHX_ "Usage: %s(%s)", "Champlain::BaseMarker::new", "class"); - PERL_UNUSED_VAR(cv); /* -W */ - { - ClutterActor * RETVAL; - - RETVAL = champlain_base_marker_new(/* No args */); - ST(0) = newSVClutterActor (RETVAL); - - sv_2mortal(ST(0)); - } - XSRETURN(1); -} - - -XS(XS_Champlain__BaseMarker_set_position); /* prototype to pass -Wmissing-prototypes */ -XS(XS_Champlain__BaseMarker_set_position) -{ -#ifdef dVAR - dVAR; dXSARGS; -#else - dXSARGS; -#endif - if (items != 3) - Perl_croak(aTHX_ "Usage: %s(%s)", "Champlain::BaseMarker::set_position", "marker, longitude, latitude"); - PERL_UNUSED_VAR(cv); /* -W */ - { - ChamplainBaseMarker * marker = SvChamplainBaseMarker (ST(0)); - gdouble longitude = (double)SvNV(ST(1)); - gdouble latitude = (double)SvNV(ST(2)); - - champlain_base_marker_set_position(marker, longitude, latitude); - } - XSRETURN_EMPTY; -} - -#ifdef __cplusplus -extern "C" -#endif -XS(boot_Champlain__BaseMarker); /* prototype to pass -Wmissing-prototypes */ -XS(boot_Champlain__BaseMarker) -{ -#ifdef dVAR - dVAR; dXSARGS; -#else - dXSARGS; -#endif - char* file = __FILE__; - - PERL_UNUSED_VAR(cv); /* -W */ - PERL_UNUSED_VAR(items); /* -W */ - XS_VERSION_BOOTCHECK ; - - newXS("Champlain::BaseMarker::new", XS_Champlain__BaseMarker_new, file); - newXS("Champlain::BaseMarker::set_position", XS_Champlain__BaseMarker_set_position, file); - if (PL_unitcheckav) - call_list(PL_scopestack_ix, PL_unitcheckav); - XSRETURN_YES; -} -