Re: rt/object.d

2020-10-29 Thread Ola Fosheim Grøstad via Digitalmars-d-learn

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 :-).



Re: rt/object.d

2020-10-29 Thread Ola Fosheim Grøstad via Digitalmars-d-learn

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!


Re: rt/object.d

2020-10-29 Thread kinke via Digitalmars-d-learn
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


Re: rt/object.d

2020-10-29 Thread Adam D. Ruppe via Digitalmars-d-learn

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.


Re: rt/object.d

2020-10-29 Thread Ola Fosheim Grøstad via Digitalmars-d-learn

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.


Re: rt/object.d

2020-10-29 Thread Adam D. Ruppe via Digitalmars-d-learn
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



rt/object.d

2020-10-29 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
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"?