aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/lobject.h b/lobject.h
index 72820220..d55a347f 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 2.93 2014/05/29 19:30:07 roberto Exp roberto $ 2** $Id: lobject.h,v 2.94 2014/06/19 18:39:36 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -69,9 +69,9 @@
69 69
70 70
71/* 71/*
72** Union of all collectable objects 72** Common type for all collectable objects
73*/ 73*/
74typedef union GCObject GCObject; 74typedef struct GCObject GCObject;
75 75
76 76
77/* 77/*
@@ -82,11 +82,13 @@ typedef union GCObject GCObject;
82 82
83 83
84/* 84/*
85** Common header in struct form 85** Common type has only the common header
86*/ 86*/
87typedef struct GCheader { 87struct GCObject {
88 CommonHeader; 88 struct {
89} GCheader; 89 CommonHeader;
90 } gch;
91};
90 92
91 93
92 94