Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
October 29, 2020 rt/object.d | ||||
---|---|---|---|---|
| ||||
The class definition for Object in the runtime object.d is "empty". Where can I find a description of the structure and fields of "class Object"? |
October 29, 2020 Re: rt/object.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | On Thursday, 29 October 2020 at 14:03:46 UTC, Ola Fosheim Grøstad wrote: > The class definition for Object in the runtime object.d is "empty". Where can I find a description of the structure and fields of "class Object"? http://dpldocs.info/experimental-docs/object.Object.html |
October 29, 2020 Re: rt/object.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On Thursday, 29 October 2020 at 14:06:08 UTC, Adam D. Ruppe wrote:
> On Thursday, 29 October 2020 at 14:03:46 UTC, Ola Fosheim Grøstad wrote:
>> The class definition for Object in the runtime object.d is "empty". Where can I find a description of the structure and fields of "class Object"?
>
> http://dpldocs.info/experimental-docs/object.Object.html
That is the same as the class decl, I meant the internals like vtable/typeinfo.
|
October 29, 2020 Re: rt/object.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | On Thursday, 29 October 2020 at 16:02:34 UTC, Ola Fosheim Grøstad: > That is the same as the class decl, I meant the internals like vtable/typeinfo. I don't know what you mean. typeinfo isn't a part of Object and the vtable is built from those virtual methods. If you mean the *module* object instead of class Object, I have the docs for that too: http://dpldocs.info/experimental-docs/object.html and like there's TypeInfo in there http://dpldocs.info/experimental-docs/object.TypeInfo.html The internal rt namespace is also on my website: http://dpldocs.info/experimental-docs/rt.html but of course that's private so you can't import it from user code. |
October 29, 2020 Re: rt/object.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | On Thursday, 29 October 2020 at 16:02:34 UTC, Ola Fosheim Grøstad wrote: > I meant the internals like vtable/typeinfo. https://dlang.org/spec/abi.html#classes |
October 29, 2020 Re: rt/object.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to kinke | On Thursday, 29 October 2020 at 16:09:10 UTC, kinke wrote:
> On Thursday, 29 October 2020 at 16:02:34 UTC, Ola Fosheim Grøstad wrote:
>> I meant the internals like vtable/typeinfo.
>
> https://dlang.org/spec/abi.html#classes
Thanks!
|
October 29, 2020 Re: rt/object.d | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On Thursday, 29 October 2020 at 16:09:00 UTC, Adam D. Ruppe wrote:
> The internal rt namespace is also on my website:
> http://dpldocs.info/experimental-docs/rt.html
>
> but of course that's private so you can't import it from user code.
Thanks, that might be useful later :-).
|
Copyright © 1999-2021 by the D Language Foundation