summaryrefslogtreecommitdiff
path: root/src/core/reference.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/reference.h')
-rw-r--r--src/core/reference.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/reference.h b/src/core/reference.h
index dd682bd..b410766 100644
--- a/src/core/reference.h
+++ b/src/core/reference.h
@@ -38,6 +38,8 @@
#include "../defines.h"
#include "symbol.h"
+#define reference_get_sym(r) (r->p_symbol)
+
typedef struct {
Symbol *p_symbol;
} Reference;