X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=mouse.h;h=e8ce99908354698ffe7b260e7e283d2cf307d5ec;hp=ff5edf887f4f5239fa03ec93785a2ecd0b9b8459;hb=f640eab5cfe018ec08af8ebb6242679dc53369cf;hpb=05e658dc1915e54a27d218201b3a9d7314ccdabe diff --git a/mouse.h b/mouse.h index ff5edf8..e8ce999 100644 --- a/mouse.h +++ b/mouse.h @@ -1,6 +1,8 @@ #ifndef MOUSE_H #define MOUSE_H +#define PERL_EUPXS_ALWAYS_EXPORT + #include "xshelper.h" #ifndef mro_get_linear_isa @@ -18,6 +20,10 @@ AV* mouse_mro_get_linear_isa(pTHX_ HV* const stash); #endif /* !no_mro_get_linear_isa */ #endif /* mro_get_package_gen */ +#ifndef GvCV_set +#define GvCV_set(gv, cv) (GvCV(gv) = (cv)) +#endif + extern SV* mouse_package; extern SV* mouse_methods; extern SV* mouse_name; @@ -191,8 +197,6 @@ CV* mouse_generate_can_predicate_for(pTHX_ SV* const klass, const char* const pr int mouse_is_an_instance_of(pTHX_ HV* const stash, SV* const instance); -XS(XS_Mouse_constraint_check); - /* Mouse XS Attribute object */ AV* mouse_get_xa(pTHX_ SV* const attr);