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

Commit 3229912

Browse files
ibuclawdlang-bot
authored andcommitted
core.stdcpp.typeinfo: Use extern(C++, class) struct for the internal class type_info for CppRuntime_Gcc
1 parent 7891755 commit 3229912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/stdcpp/typeinfo.d

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ else version (CppRuntime_Gcc)
103103

104104
extern (C++, "__cxxabiv1")
105105
{
106-
class __class_type_info;
106+
extern(C++, class) struct __class_type_info;
107107
}
108108

109109
extern (C++, "std"):
@@ -125,7 +125,7 @@ else version (CppRuntime_Gcc)
125125
bool __is_pointer_p() const;
126126
bool __is_function_p() const;
127127
bool __do_catch(const type_info, void**, uint) const;
128-
bool __do_upcast(const __class_type_info, void**) const;
128+
bool __do_upcast(const __class_type_info*, void**) const;
129129

130130
const(char)* _name;
131131
this(const(char)*);

0 commit comments

Comments
 (0)