Am Tue, 22 Apr 2014 18:07:21 +1000
schrieb Manu via Digitalmars-d digitalmars-d@puremagic.com:
extern (C) void func(const(char)* pString);
By the way: What about adding nothrow there?
--
Marco
So I've restructured one of my projects which is a C library bindings,
but also with some D-ification.
I separated it into 2 parts, the raw binding parts, and the api
enhancements, the module structure looks like this:
The Raw C binding part:
pkg/c/module.d:
pkg.c.module;
struct
On 22 April 2014 18:07, Manu turkey...@gmail.com wrote:
So I've restructured one of my projects which is a C library bindings,
but also with some D-ification.
I separated it into 2 parts, the raw binding parts, and the api
enhancements, the module structure looks like this:
The Raw C
On Tuesday, 22 April 2014 at 08:07:32 UTC, Manu via Digitalmars-d
wrote:
So I've restructured one of my projects which is a C library
bindings,
but also with some D-ification.
I separated it into 2 parts, the raw binding parts, and the api
enhancements, the module structure looks like this:
On 22 April 2014 19:16, John Colvin via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Tuesday, 22 April 2014 at 08:07:32 UTC, Manu via Digitalmars-d wrote:
So I've restructured one of my projects which is a C library bindings,
but also with some D-ification.
I separated it into 2
On 22 April 2014 21:00, Manu turkey...@gmail.com wrote:
On 22 April 2014 19:16, John Colvin via Digitalmars-d
The rest of your problems are, I think, explained here:
http://dlang.org/hijack.html
Ah ha!
in order to overload functions from multiple modules together, an
alias statement is used