summaryrefslogtreecommitdiff
path: root/haskell/offset.h
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/offset.h')
-rw-r--r--haskell/offset.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/haskell/offset.h b/haskell/offset.h
new file mode 100644
index 0000000..0f344a2
--- /dev/null
+++ b/haskell/offset.h
@@ -0,0 +1,2 @@
1
2#define hsc_off(t, f) hsc_printf("(Offset (%ld) :: Offset (%ld))", (long) offsetof (t, f), (long) offsetof (t, f));