osx shared libraries.

bitwise via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 15 20:56:14 PDT 2015


On Mon, 15 Jun 2015 23:26:18 -0400, bitwise <bitwise.pvt at gmail.com> wrote:
> I would like to do the above stub in D, but I haven't found a way to  
> specify visibility or section of the function yet.

It actually appears that __attribute__((visibility("hidden")) is redundant  
and making it a constructor already hides it.

So if I can get a D function to go to the "__mod_init_func" section  
instead, I should be set.

   Bit


More information about the Digitalmars-d mailing list