blueloveTH преди 9 месеца
родител
ревизия
5e65567c28
променени са 2 файла, в които са добавени 14 реда и са изтрити 2 реда
  1. 0 1
      include/pocketpy/common/chunkedvector.h
  2. 14 1
      include/pocketpy/xmacros/fixedhash.h

+ 0 - 1
include/pocketpy/common/chunkedvector.h

@@ -1,6 +1,5 @@
 #pragma once
 #pragma once
 
 
-#include "pocketpy/export.h"
 #include "pocketpy/common/vector.h"
 #include "pocketpy/common/vector.h"
 typedef struct c11_chunkedvector_chunk {
 typedef struct c11_chunkedvector_chunk {
     int length;
     int length;

+ 14 - 1
include/pocketpy/xmacros/fixedhash.h

@@ -104,4 +104,17 @@ V* METHOD(try_get)(NAME* self, K key) {
     return NULL;
     return NULL;
 }
 }
 
 
-#endif
+#endif
+
+/* Undefine all macros */
+#undef KV
+#undef METHOD
+#undef CONCAT
+#undef CONCAT_
+
+#undef K
+#undef V
+#undef NAME
+#undef less
+#undef partial_less
+#undef equal