ext/fast_mmaped_file/mmap.h in prometheus-client-mmap-0.7.0.beta34 vs ext/fast_mmaped_file/mmap.h in prometheus-client-mmap-0.7.0.beta35
- old
+ new
@@ -43,16 +43,15 @@
int count;
mm_mmap *t;
} mm_ipc;
-#define GetMmap(obj, i_mm, t_modify) \
+#define GET_MMAP(obj, i_mm, t_modify) \
Data_Get_Struct(obj, mm_ipc, i_mm); \
if (!i_mm->t->path) { \
rb_raise(rb_eIOError, "unmapped file"); \
} \
if ((t_modify & MM_MODIFY) && (i_mm->t->flag & MM_FROZEN)) { \
rb_error_frozen("mmap"); \
}
-
-#endif
\ No newline at end of file
+#endif