Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

core.stdcpp.typeinfo: Use extern(C++, class) struct for the internal class type_info for CppRuntime_Gcc #3559

Merged
merged 1 commit into from
Aug 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/core/stdcpp/typeinfo.d
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ else version (CppRuntime_Gcc)

extern (C++, "__cxxabiv1")
{
class __class_type_info;
extern(C++, class) struct __class_type_info;
}

extern (C++, "std"):
Expand All @@ -125,7 +125,7 @@ else version (CppRuntime_Gcc)
bool __is_pointer_p() const;
bool __is_function_p() const;
bool __do_catch(const type_info, void**, uint) const;
bool __do_upcast(const __class_type_info, void**) const;
bool __do_upcast(const __class_type_info*, void**) const;

const(char)* _name;
this(const(char)*);
Expand Down