Skip to content

Commit 00ebb23

Browse files
committed
Fix includes
1 parent 4c47264 commit 00ebb23

File tree

144 files changed

+307
-289
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+307
-289
lines changed

include/deemon/accu.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@
2929
#include <hybrid/typecore.h> /* __SIZEOF_SIZE_T__ */
3030

3131
#include "bytes.h" /* Dee_bytes_printer */
32-
#include "object.h" /* DREF, DeeObject, Dee_Incref, Dee_ssize_t, Dee_visit_t */
32+
#include "object.h" /* DREF, DeeObject, Dee_Incref, Dee_ssize_t */
3333
#include "string.h" /* Dee_unicode_printer */
3434
#include "tuple.h" /* Dee_tuple_builder */
35+
#include "type.h" /* Dee_visit_t */
3536

3637
#include <stdint.h> /* int64_t, uintptr_t */
3738

include/deemon/class.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737

3838
#include <hybrid/typecore.h> /* __SIZEOF_POINTER__, __UINTPTR_TYPE__ */
3939

40-
#include "object.h" /* ASSERT_OBJECT_TYPE, DREF, DeeObject, DeeObject_InstanceOfExact, DeeTypeObject, Dee_AsObject, Dee_OBJECT_HEAD, Dee_REQUIRES_OBJECT, Dee_TYPE, Dee_formatprinter_t, Dee_hash_t, Dee_ssize_t, Dee_visit_t */
41-
#include "type.h" /* DeeType_*, Dee_OPERATOR_USERCOUNT, Dee_TP_FGC, Dee_TP_FHEAP, Dee_TP_FVARIABLE, Dee_operator_t, type_gc */
40+
#include "object.h" /* ASSERT_OBJECT_TYPE, DREF, DeeObject, DeeObject_InstanceOfExact, DeeTypeObject, Dee_AsObject, Dee_OBJECT_HEAD, Dee_REQUIRES_OBJECT, Dee_TYPE, Dee_formatprinter_t, Dee_hash_t, Dee_ssize_t */
41+
#include "type.h" /* DeeType_*, Dee_OPERATOR_USERCOUNT, Dee_TP_FGC, Dee_TP_FHEAP, Dee_TP_FVARIABLE, Dee_operator_t, Dee_visit_t, type_gc */
4242
#include "util/hash.h" /* Dee_HashPtr, Dee_HashStr */
4343
#include "util/lock.h" /* Dee_atomic_read_with_atomic_rwlock, Dee_atomic_rwlock_* */
4444

include/deemon/compiler/interface.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@
2626
#include "../api.h"
2727

2828
#ifdef CONFIG_BUILDING_DEEMON
29-
#include "../object.h" /* Dee_visit_t */
30-
#include "../type.h" /* type_member */
31-
#include "../types.h" /* DREF, DeeObject, DeeTypeObject, Dee_AsObject, Dee_hash_t */
32-
#include "compiler.h" /* DeeCompiler*, Dee_COMPILER_ITEM_OBJECT_HEAD */
33-
#include "symbol.h" /* DeeBaseScopeObject, ast_loc */
29+
#include "../type.h" /* Dee_visit_t, type_member */
30+
#include "../types.h" /* DREF, DeeObject, DeeTypeObject, Dee_AsObject, Dee_hash_t */
31+
#include "compiler.h" /* DeeCompiler*, Dee_COMPILER_ITEM_OBJECT_HEAD */
32+
#include "symbol.h" /* DeeBaseScopeObject, ast_loc */
3433
#include "tpp.h"
3534

3635
#include <stdbool.h> /* bool */

include/deemon/dec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#include <hybrid/byteorder.h> /* __BYTE_ORDER__, __FLOAT_WORD_ORDER__, __ORDER_BIG_ENDIAN__, __ORDER_LITTLE_ENDIAN__, __ORDER_PDP_ENDIAN__ */
4949
#include <hybrid/host.h> /* __arm__, __i386__, __x86_64__ */
5050

51-
#include "gc.h" /* Dee_gc_head */
51+
#include "gc.h" /* DeeGC_Object, Dee_GC_OBJECT_OFFSET, Dee_gc_head */
5252
#include "heap.h" /* Dee_HEAPCHUNK_ALIGN, Dee_heapregion */
5353
#include "mapfile.h" /* DeeMapFile_Fini, Dee_SIZEOF_DeeMapFile */
5454
#endif /* DEE_SOURCE */

include/deemon/gc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
#include "api.h"
3535

36-
#include <hybrid/typecore.h> /* __SIZEOF_POINTER__ */
36+
#include <hybrid/typecore.h> /* __BYTE_TYPE__, __SIZEOF_POINTER__ */
3737

3838
#include "types.h" /* DREF, DeeObject, Dee_AsObject */
3939

include/deemon/module.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
#include "api.h"
3232

33-
#include "gc.h" /* Dee_gc_head_link */
33+
#include "gc.h" /* Dee_gc_head, Dee_gc_head_link */
3434
#include "object.h" /* DeeObject_NewRef */
3535
#include "string.h" /* DeeString*, Dee_STRING_ERROR_FIGNORE */
3636
#include "system-features.h" /* bcmp, strlen */

include/deemon/mro.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
#include "system-features.h" /* access, memcpy */
6666
#include "tuple.h" /* DeeTuple_ELEM, DeeTuple_SIZE */
67-
#include "type.h" /* Dee_kwobjmethod_t, Dee_membercache, TYPE_METHOD_FKWDS, type_* */
67+
#include "type.h" /* Dee_kwobjmethod_t, Dee_membercache, Dee_visit_t, TYPE_METHOD_FKWDS, type_* */
6868
#include "types.h" /* DREF, DeeObject, DeeTypeObject, Dee_AsObject, Dee_TYPE, Dee_hash_t, Dee_refcnt_t, Dee_ssize_t */
6969
#include "util/hash.h" /* Dee_HashPtr, Dee_HashStr */
7070
#include "util/lock.h" /* Dee_shared_rwlock_t */
@@ -76,7 +76,7 @@
7676

7777
#ifdef CONFIG_BUILDING_DEEMON
7878
#include "error-rt.h" /* DeeRT_ATTRIBUTE_ACCESS_DEL, DeeRT_ATTRIBUTE_ACCESS_SET, DeeRT_Err* */
79-
#include "object.h" /* Dee_BOUND_FROMPRESENT_BOUND, Dee_Decref, Dee_Incref, Dee_XDecref, Dee_XIncref, Dee_visit_t */
79+
#include "object.h" /* Dee_BOUND_FROMPRESENT_BOUND, Dee_Decref, Dee_Incref, Dee_XDecref, Dee_XIncref */
8080
#ifndef __INTELLISENSE__
8181
#include "alloc.h" /* Dee_Free */
8282
#endif /* !__INTELLISENSE__ */

include/deemon/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include "api.h"
3131

3232
#include <hybrid/int128.h> /* __hybrid_int128_t, __hybrid_uint128_t */
33-
#include <hybrid/typecore.h> /* __*_TYPE__, __SIZEOF_POINTER__, __UINT32_C, __UINT64_C */
33+
#include <hybrid/typecore.h> /* __*_TYPE__, __SIZEOF_POINTER__, __UINT*_C */
3434

3535
#include <stddef.h> /* NULL, offsetof, size_t */
3636
#include <stdint.h> /* uintptr_t */

include/deemon/util/simple-hashset.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
#include <hybrid/typecore.h> /* __UINTPTR_TYPE__ */
3131

3232
#include "../alloc.h" /* Dee_Free, Dee_Mallocc, Dee_TryMallocc */
33-
#include "../object.h" /* DREF, DeeObject, Dee_XDecref, Dee_XIncref, Dee_hash_t, Dee_visit_t */
33+
#include "../object.h" /* DREF, DeeObject, Dee_XDecref, Dee_XIncref, Dee_hash_t */
3434
#include "../system-features.h" /* memcpyc */
35-
#include "../type.h" /* Dee_XVisit */
35+
#include "../type.h" /* Dee_XVisit, Dee_visit_t */
3636
#include "lock.h" /* Dee_ATOMIC_LOCK_INIT, Dee_atomic_lock_* */
3737

3838
#include <stddef.h> /* NULL, size_t */

include/deemon/util/weakref.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <hybrid/__atomic.h> /* __ATOMIC_ACQUIRE, __ATOMIC_RELEASE, __hybrid_atomic_load, __hybrid_atomic_store */
2929
#include <hybrid/typecore.h> /* __SIZEOF_POINTER__, __UINT32_C, __UINT64_C */
3030

31-
#include "../types.h" /* DREF, DeeObject, Dee_unlockinfo */
31+
#include "../types.h" /* DREF, DeeObject, Dee_unlockinfo, Dee_weakref_list */
3232

3333
#include <stdbool.h> /* bool */
3434
#include <stddef.h> /* NULL, size_t */

0 commit comments

Comments
 (0)