On Fri, 02 Jan 2015 10:40:22 +
novice2 via Digitalmars-d-learn digitalmars-d-learn@puremagic.com
wrote:
Thanx Daniel, thanx Ketmar.
I just thinked that this is some sort of bug.
May be DMD should not change mangled name of external function...
Bit i dont know.
with `extern(C)` it
Thanx Daniel, thanx Ketmar.
I just thinked that this is some sort of bug.
May be DMD should not change mangled name of external function...
Bit i dont know.
On Thu, 01 Jan 2015 17:51:45 +
novice2 via Digitalmars-d-learn digitalmars-d-learn@puremagic.com
wrote:
I want to use external or C function.
It used only one time from one D function.
I want do declare C function inside D function.
I don't want to declare C function in global scope.
On Thursday, 1 January 2015 at 17:51:46 UTC, novice2 wrote:
I want to use external or C function.
It used only one time from one D function.
I want do declare C function inside D function.
I don't want to declare C function in global scope.
Is my wish correct?
Reduced code:
extern (C) int