summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/pso/macros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pso/macros.h b/include/pso/macros.h
index a341b7f..e93e2de 100644
--- a/include/pso/macros.h
+++ b/include/pso/macros.h
@@ -1,6 +1,8 @@
#ifndef MACROS_H
#define MACROS_H
+#define EXTERN_OBJECT_NAME(name) extern const char *name##_name;
+
#define OBJECT_NAME(name) const char *name##_name = #name;
#define OBJECT_NAMES \
o(TObject) \