Browse Source

small fix... I have to mark the class structure as extern in the header file.

1.0.2
Georg Hopp 12 years ago
parent
commit
6a5d16687b
  1. 2
      include/tr/class.h

2
include/tr/class.h

@ -61,7 +61,7 @@
* that are needed to create a new class.
*/
#define TR_CLASS(name) \
struct TR_class c_##name; \
extern struct TR_class c_##name; \
struct c_##name; \
typedef struct c_##name * name; \
extern struct TR_class * const _##name; \

Loading…
Cancel
Save