digitalmars.D - Is d support for extern (D) void core.rt.FunctionA(ParameterList);
- Yonggang Luo (4/4) Nov 11 2008 Is d support for extern (D) void core.rt.FunctionA(ParameterList);
- Don (5/9) Nov 11 2008 Not sure what you mean. Perhaps you want to do this:
- Yonggang Luo (3/18) Nov 11 2008 Oh , no, I means there is not such a file that name core.rt.d;
- ore-sama (2/5) Nov 11 2008 Modules rely on filesystem, so you should have core/rt.d somewhere or yo...
- Yonggang Luo (4/4) Nov 11 2008 I means to support for this, because of this, then we can hidden somethi...
- Kagamin (2/8) Nov 12 2008 dmd supports automatic generation of .di files which are similar to C .h...
- Don (2/21) Nov 11 2008 Then call it core.rt.di instead of core.rt.d.
- Yonggang Luo (4/14) Nov 14 2008 Because the auto generated di file is not good enough, and why we need t...
Is d support for extern (D) void core.rt.FunctionA(ParameterList); I want to know... And I don't find the document for keyword "alias" in the Language Specification. If someone know, please tell me.
Nov 11 2008
Please post these types of question in the 'learn' newsgroup. Yonggang Luo wrote:Is d support for extern (D) void core.rt.FunctionA(ParameterList); I want to know...Not sure what you mean. Perhaps you want to do this: import core.rt : FunctionA;And I don't find the document for keyword "alias" in the Language Specification. If someone know, please tell me.It's on the 'declarations' page.
Nov 11 2008
Don Wrote:Please post these types of question in the 'learn' newsgroup. Yonggang Luo wrote:Oh , no, I means there is not such a file that name core.rt.d; Because I want to separate some files from the "Library" that I want to distributed.Is d support for extern (D) void core.rt.FunctionA(ParameterList); I want to know...Not sure what you mean. Perhaps you want to do this: import core.rt : FunctionA;And I don't find the document for keyword "alias" in the Language Specification. If someone know, please tell me.It's on the 'declarations' page.
Nov 11 2008
Yonggang Luo Wrote:Oh , no, I means there is not such a file that name core.rt.d; Because I want to separate some files from the "Library" that I want to distributed.Modules rely on filesystem, so you should have core/rt.d somewhere or you won't be able to compile this. Include option determines where to search packages/modules.
Nov 11 2008
I means to support for this, because of this, then we can hidden something that we don't want to see. When you just want to see that API, and not the detail implement. And also it can reduce the redundant thinking about what does this module meaning and that module meaning. Because we just see the API. This is useful if you don't like to show all the things to the user.
Nov 11 2008
Yonggang Luo Wrote:I means to support for this, because of this, then we can hidden something that we don't want to see. When you just want to see that API, and not the detail implement. And also it can reduce the redundant thinking about what does this module meaning and that module meaning. Because we just see the API. This is useful if you don't like to show all the things to the user.dmd supports automatic generation of .di files which are similar to C .h files. Or you can write .di files manually. Or you can write separate core/rt.d with just declarations and another core/rt.d with implementation.
Nov 12 2008
Yonggang Luo wrote:Don Wrote:Then call it core.rt.di instead of core.rt.d.Please post these types of question in the 'learn' newsgroup. Yonggang Luo wrote:Oh , no, I means there is not such a file that name core.rt.d; Because I want to separate some files from the "Library" that I want to distributed.Is d support for extern (D) void core.rt.FunctionA(ParameterList); I want to know...Not sure what you mean. Perhaps you want to do this: import core.rt : FunctionA;And I don't find the document for keyword "alias" in the Language Specification. If someone know, please tell me.It's on the 'declarations' page.
Nov 11 2008
Kagamin Wrote:Yonggang Luo Wrote:Because the auto generated di file is not good enough, and why we need to write it manual? I think to auto is the advance of D Programming Language. But we need to manual write something .... like C do.I means to support for this, because of this, then we can hidden something that we don't want to see. When you just want to see that API, and not the detail implement. And also it can reduce the redundant thinking about what does this module meaning and that module meaning. Because we just see the API. This is useful if you don't like to show all the things to the user.dmd supports automatic generation of .di files which are similar to C .h files. Or you can write .di files manually. Or you can write separate core/rt.d with just declarations and another core/rt.d with implementation.
Nov 14 2008