Commit 6a5d16687b0d3b22d0337ec48a2d50c8205e22dc
1 parent
c5c48bb3
small fix... I have to mark the class structure as extern in the header file.
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -61,7 +61,7 @@ | @@ -61,7 +61,7 @@ | ||
61 | * that are needed to create a new class. | 61 | * that are needed to create a new class. |
62 | */ | 62 | */ |
63 | #define TR_CLASS(name) \ | 63 | #define TR_CLASS(name) \ |
64 | - struct TR_class c_##name; \ | 64 | + extern struct TR_class c_##name; \ |
65 | struct c_##name; \ | 65 | struct c_##name; \ |
66 | typedef struct c_##name * name; \ | 66 | typedef struct c_##name * name; \ |
67 | extern struct TR_class * const _##name; \ | 67 | extern struct TR_class * const _##name; \ |
Please
register
or
login
to post a comment