On Wed, 25 Jan 2012 02:27:24 +0400
Denis Shelomovskij verylonglogin@gmail.com wrote:
Anyway, looks like that isn't the problem I'm trying to solve. I
don't accenting on parsing C code (it's done in Function.__ctor and
is obvious). The problem is to generate fast wrapper when we already
23.01.2012 17:15, Gour пишет:
On Sun, 22 Jan 2012 22:03:08 +0400
Denis Shelomovskijverylonglogin@gmail.com wrote:
I'm finishing a fast (I just don't see a faster way) and garbage-free
CTFE-capable wrapper. But it requires IDL to be written for every C
function.
I'm curious if you have
On Sun, 22 Jan 2012 22:03:08 +0400
Denis Shelomovskij verylonglogin@gmail.com wrote:
I'm finishing a fast (I just don't see a faster way) and garbage-free
CTFE-capable wrapper. But it requires IDL to be written for every C
function.
Interesting...otoh, I found out that htod tool is out
On Sun, 22 Jan 2012 22:03:08 +0400
Denis Shelomovskij verylonglogin@gmail.com wrote:
I'm finishing a fast (I just don't see a faster way) and garbage-free
CTFE-capable wrapper. But it requires IDL to be written for every C
function.
I'm curious if you have read the following paper:
On 2012-01-23 14:15, Gour wrote:
On Sun, 22 Jan 2012 22:03:08 +0400
Denis Shelomovskijverylonglogin@gmail.com wrote:
I'm finishing a fast (I just don't see a faster way) and garbage-free
CTFE-capable wrapper. But it requires IDL to be written for every C
function.
I'm curious if you
On 2012-01-23 15:46, Gour wrote:
On Mon, 23 Jan 2012 15:32:10 +0100
Jacob Carlborgd...@me.com wrote:
I think the best idea is to create a tool that generates bindings
using Clang. That's also what I'm slowly working on.
Could Clang be used for both C C++ bindings?
Yes, Clang handles C,
On Mon, 23 Jan 2012 20:49:09 +0100
Jacob Carlborg d...@me.com wrote:
Yes, Clang handles C, C++, Objective-C and Objective-C++.
That would be life-saver for language-bindings developers!!
Sincerely,
Gour
--
There are principles to regulate attachment and aversion pertaining to
the senses
21.01.2012 19:24, Gour пишет:
Hello!
We have a need to bind smaller to medium-size C library and would like
to provide more D-ish or higher-level bindings than just wrapper over C
code.
E.g. the C function looks like:
int swe_calc_ut ( double tjd_ut, int ipl, int iflag, double* xx, char*
Hello!
We have a need to bind smaller to medium-size C library and would like
to provide more D-ish or higher-level bindings than just wrapper over C
code.
E.g. the C function looks like:
int swe_calc_ut ( double tjd_ut, int ipl, int iflag, double* xx, char* serr)
and we would like to e.g.