mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-09 20:37:25 +03:00

Notably, the glue layer side of the changed multiple interface inheritance layout (DMD a54e89d) has not been implemented yet. This corresponds to DMD commit 3f6a763c0589dd03c1c206eafd434b593702564e.
52 lines
868 B
D
52 lines
868 B
D
// Compiler implementation of the D programming language
|
|
// Copyright (c) 1999-2015 by Digital Mars
|
|
// All Rights Reserved
|
|
// written by Walter Bright
|
|
// http://www.digitalmars.com
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// http://www.boost.org/LICENSE_1_0.txt
|
|
|
|
module ddmd.root.rootobject;
|
|
|
|
import core.stdc.stdio;
|
|
|
|
import ddmd.root.outbuffer;
|
|
|
|
/***********************************************************
|
|
*/
|
|
extern (C++) class RootObject
|
|
{
|
|
this()
|
|
{
|
|
}
|
|
|
|
bool equals(RootObject o)
|
|
{
|
|
return o is this;
|
|
}
|
|
|
|
int compare(RootObject)
|
|
{
|
|
assert(0);
|
|
}
|
|
|
|
void print()
|
|
{
|
|
printf("%s %p\n", toChars(), this);
|
|
}
|
|
|
|
const(char)* toChars()
|
|
{
|
|
assert(0);
|
|
}
|
|
|
|
void toBuffer(OutBuffer* buf)
|
|
{
|
|
assert(0);
|
|
}
|
|
|
|
int dyncast()
|
|
{
|
|
assert(0);
|
|
}
|
|
}
|