]> git.vpit.fr Git - perl/modules/Lexical-Types.git/commitdiff
Fix building on Windows
authorVincent Pit <vince@profvince.com>
Mon, 3 Jan 2011 20:20:16 +0000 (21:20 +0100)
committerVincent Pit <vince@profvince.com>
Mon, 3 Jan 2011 20:20:16 +0000 (21:20 +0100)
Types.xs

index cf005cd34fd23c2e14f343950597da42925ef465..8367cba9949c64a39938be2d0c7a47e5a8ec98c2 100644 (file)
--- a/Types.xs
+++ b/Types.xs
@@ -152,6 +152,11 @@ typedef SV lt_hint_t;
 
 #include "ptable.h"
 
+/* PerlMemShared_free() needs the [ap]PTBLMS_? default values */
+#define ptable_seen_store(T, K, V) ptable_seen_store(aPTBLMS_ (T), (K), (V))
+#define ptable_seen_clear(T)       ptable_seen_clear(aPTBLMS_ (T))
+#define ptable_seen_free(T)        ptable_seen_free(aPTBLMS_ (T))
+
 #endif /* !LT_HAS_RPEEP */
 
 /* ... Global data ......................................................... */
@@ -374,6 +379,7 @@ STATIC SV *lt_hint(pTHX) {
 
 /* PerlMemShared_free() needs the [ap]PTBLMS_? default values */
 #define ptable_map_store(T, K, V) ptable_map_store(aPTBLMS_ (T), (K), (V))
+#define ptable_map_delete(T, K)   ptable_map_delete(aPTBLMS_ (T), (K))
 
 STATIC ptable *lt_op_map = NULL;