Re: Feature request: "noexport" keyword

2011-02-20 Thread Bernard Helyer
On Sun, 20 Feb 2011 16:50:25 -0500, Nick Sabalausky wrote: > Keep in mind though, I have *no* idea how "extern(...)" fits in to all > of this. The linkage is separate to the access and will continue when you change from export to public.

Re: Feature request: "noexport" keyword

2011-02-20 Thread Nick Sabalausky
"Nick Sabalausky" wrote in message news:ijs2f1$5ri$1...@digitalmars.com... > "Bekenn" wrote in message > news:ijrjh2$20sv$1...@digitalmars.com... >> On 2/19/2011 11:30 PM, Nick Sabalausky wrote: >>> "Bekenn" wrote in message >>> news:ijqffm$6lk$1...@digitalmars.com... >>> I'm not 100% certain,

Re: Feature request: "noexport" keyword

2011-02-20 Thread Nick Sabalausky
"Bekenn" wrote in message news:ijrjh2$20sv$1...@digitalmars.com... > On 2/19/2011 11:30 PM, Nick Sabalausky wrote: >> "Bekenn" wrote in message >> news:ijqffm$6lk$1...@digitalmars.com... >> I'm not 100% certain, but I think this should already do what you want: >> >> export extern (Windows): >>

Re: Feature request: "noexport" keyword

2011-02-20 Thread Bekenn
On 2/19/2011 11:30 PM, Nick Sabalausky wrote: "Bekenn" wrote in message news:ijqffm$6lk$1...@digitalmars.com... I'm not 100% certain, but I think this should already do what you want: export extern (Windows): void func1(); int func2(); public: void func3(); void func4(); Hmm... I think y

Re: Feature request: "noexport" keyword

2011-02-20 Thread Steven Schveighoffer
On Sun, 20 Feb 2011 02:19:39 -0500, Bekenn wrote: The "export" keyword is a protection attribute, along with "private", "package", "protected", and "public". This means that it can be used with the same syntax as any of those other attributes; for instance, if creating a D "header" for an

Re: Feature request: "noexport" keyword

2011-02-19 Thread Nick Sabalausky
"Bekenn" wrote in message news:ijqffm$6lk$1...@digitalmars.com... > The "export" keyword is a protection attribute, along with "private", > "package", "protected", and "public". This means that it can be used with > the same syntax as any of those other attributes; for instance, if > creating

Re: Feature request: "noexport" keyword

2011-02-19 Thread Jonathan M Davis
On Saturday 19 February 2011 23:19:39 Bekenn wrote: > The "export" keyword is a protection attribute, along with "private", > "package", "protected", and "public". This means that it can be used > with the same syntax as any of those other attributes; for instance, if > creating a D "header" for a

Feature request: "noexport" keyword

2011-02-19 Thread Bekenn
The "export" keyword is a protection attribute, along with "private", "package", "protected", and "public". This means that it can be used with the same syntax as any of those other attributes; for instance, if creating a D "header" for an existing Windows DLL file, you might do something like