Re: no code was attached to it yet with @ffi.def_extern(). Returning 0.

15 views
Skip to first unread message
Message has been deleted

M P

unread,
Mar 18, 2017, 7:49:59 PM3/18/17
to python-cffi
In the header file for the C program, the function is defined this way:

CFFI_DLLEXPORT void train(struct _Server*);


Armin Rigo

unread,
Mar 19, 2017, 3:30:14 PM3/19/17
to pytho...@googlegroups.com
Hi,

Can you extract a small example that we can run too?


A bientôt,

Armin.
Message has been deleted

Armin Rigo

unread,
Mar 20, 2017, 5:02:46 AM3/20/17
to pytho...@googlegroups.com
Hi,

On 19 March 2017 at 20:44, M P <bmpe...@gmail.com> wrote:
> I did. Run the train () function in main

Sorry, I missed that. Do you mean that I can dig up the
AlgoServer.zip you posted two months ago in a different thread and it
will still work unchanged, apart from the BuildTrain.py and the change
to the header (which file is that)? It didn't occur to me because I'm
sure random other things changed since that time...

How about making a new .zip that contains the complete current files?
That sounds much easier for me.


A bientôt,

Armin.
Reply all
Reply to author
Forward
0 new messages