Skip to content

Commit

Permalink
refactor: use block attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Feb 1, 2016
1 parent 69a20fe commit 53d0df2
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/dclass.d
Expand Up @@ -180,11 +180,15 @@ struct ClassFlags
extern (C++) class ClassDeclaration : AggregateDeclaration
{
public:
extern (C++) static __gshared ClassDeclaration object;
extern (C++) static __gshared ClassDeclaration throwable;
extern (C++) static __gshared ClassDeclaration exception;
extern (C++) static __gshared ClassDeclaration errorException;
extern (C++) static __gshared ClassDeclaration cpp_type_info_ptr; // Object.__cpp_type_info_ptr
extern (C++) __gshared
{
// Names found by reading object.d in druntime
ClassDeclaration object;
ClassDeclaration throwable;
ClassDeclaration exception;
ClassDeclaration errorException;
ClassDeclaration cpp_type_info_ptr; // Object.__cpp_type_info_ptr
}

ClassDeclaration baseClass; // NULL only if this is Object
FuncDeclaration staticCtor;
Expand Down

0 comments on commit 53d0df2

Please sign in to comment.