How to get access to Voldemort / private thingies

Johan Engelen via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 18 01:41:30 PDT 2016


On Friday, 17 June 2016 at 21:07:31 UTC, cy wrote:
> On Friday, 17 June 2016 at 19:49:18 UTC, Johan Engelen wrote:
>> Hi all,
>>   Is there another way to get access to Voldemort class 
>> methods, or private class members, other than using
>
> [... snip ...]
>
> Because of the guarantee that you can link to opaque .o files,

Thanks for your response.
Without going in too much detail, the problem is that I am not 
linking to opaque .o files. The user symbol has to have the same 
type (as the hidden type) internally in the compiler; both will 
be present in the same translation unit because of inlining, and 
so if the mangled names are the same, their types have to be the 
same.

Hmm...
-Johan


More information about the Digitalmars-d-learn mailing list