aboutsummaryrefslogtreecommitdiff
path: root/src/docs_writer.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2023-08-07 11:02:01 +0100
committerGitHub <noreply@github.com>2023-08-07 11:02:01 +0100
commit77e5854a16ea9396752d784510169c5856f044ae (patch)
tree61f1a2a43bd1ff52a1d7fa02bb4660e524221edf /src/docs_writer.cpp
parentcb5c8219898445a5501a95107c0200ea68b89a39 (diff)
parent2a42dab108ea1c70962815cc714c0b4d3e42a719 (diff)
Merge branch 'master' into stdlib-parser-fixes
Diffstat (limited to 'src/docs_writer.cpp')
-rw-r--r--src/docs_writer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/docs_writer.cpp b/src/docs_writer.cpp
index 2dd2f338b..6b42d2e7a 100644
--- a/src/docs_writer.cpp
+++ b/src/docs_writer.cpp
@@ -771,12 +771,12 @@ gb_internal OdinDocTypeIndex odin_doc_type(OdinDocWriter *w, Type *type) {
doc_type.types = odin_write_slice(w, types, gb_count_of(types));
}
break;
- case Type_RelativeSlice:
- doc_type.kind = OdinDocType_RelativeSlice;
+ case Type_RelativeMultiPointer:
+ doc_type.kind = OdinDocType_RelativeMultiPointer;
{
OdinDocTypeIndex types[2] = {};
- types[0] = odin_doc_type(w, type->RelativeSlice.slice_type);
- types[1] = odin_doc_type(w, type->RelativeSlice.base_integer);
+ types[0] = odin_doc_type(w, type->RelativeMultiPointer.pointer_type);
+ types[1] = odin_doc_type(w, type->RelativeMultiPointer.base_integer);
doc_type.types = odin_write_slice(w, types, gb_count_of(types));
}
break;