summaryrefslogtreecommitdiff
path: root/libtnsl/src/reflect/type.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'libtnsl/src/reflect/type.tnsl')
-rw-r--r--libtnsl/src/reflect/type.tnsl39
1 files changed, 38 insertions, 1 deletions
diff --git a/libtnsl/src/reflect/type.tnsl b/libtnsl/src/reflect/type.tnsl
index d346464..2ed0016 100644
--- a/libtnsl/src/reflect/type.tnsl
+++ b/libtnsl/src/reflect/type.tnsl
@@ -17,4 +17,41 @@
THIS SOFTWARE/SOURCE CODE IS PROVIDED "AS IS" WITH NO
WARRANTY, GUARANTEE, OR CLAIM OF FITNESS FOR ANY PURPOSE
EXPRESS OR IMPLIED
-#/ \ No newline at end of file
+#/
+
+; raw struct _type_header {
+ uint
+ _lib_index,
+ _type_index,
+
+ ~{}_type_header
+ _generic_list
+}
+
+; raw struct _method {
+ ~void
+ address
+}
+
+; raw struct _type {
+ ~{}int
+ _offsets,
+
+ ~{}uint
+ _super_offsets,
+
+ ~{}_type
+ _supers,
+
+ ~{}_method
+ _methods
+}
+
+/; method _type_header
+
+ /; _is (_type_header base)
+ ;/
+
+ /; _get_method ()
+ ;/
+;/ \ No newline at end of file