Skip to content

Instantly share code, notes, and snippets.

@redj
Created May 27, 2018 02:41
Show Gist options
  • Save redj/f6f3725b199e805bb501c7b8368289c6 to your computer and use it in GitHub Desktop.
Save redj/f6f3725b199e805bb501c7b8368289c6 to your computer and use it in GitHub Desktop.
redj@jytha:~/c/e/e$ make bindings
Generating C Bindings...
Building C Bindings for ecereCOM...
Building C Bindings for ecere...
Building C Bindings for EDA...
Generating Python Bindings...
Building Python 3 Bindings for ecereCOM...
In file included from _pyeC.c:492:0:
/home/redj/c/e/e/bindings/py/../c/eC.h:571:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void (* Initialize)();
^
/home/redj/c/e/e/bindings/py/../c/eC.h:707:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
/home/redj/c/e/e/bindings/py/../c/eC.h:819:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
In file included from /home/redj/c/e/e/bindings/c/eC.c:1:0:
/home/redj/c/e/e/bindings/c/eC.h:571:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void (* Initialize)();
^
/home/redj/c/e/e/bindings/c/eC.h:707:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
/home/redj/c/e/e/bindings/c/eC.h:819:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
Building Python 3 Bindings for ecere...
In file included from /home/redj/c/e/e/bindings/py/../c/ecere.h:25:0,
from _pyecere.c:492:
/home/redj/c/e/e/bindings/py/../c/eC.h:571:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void (* Initialize)();
^
/home/redj/c/e/e/bindings/py/../c/eC.h:707:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
/home/redj/c/e/e/bindings/py/../c/eC.h:819:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
In file included from _pyecere.c:492:0:
/home/redj/c/e/e/bindings/py/../c/ecere.h:1715:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT C(DefaultShader) (* DefaultShader_shader)();
^
/home/redj/c/e/e/bindings/py/../c/ecere.h:7084:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (** windowVTbl)();
^
/home/redj/c/e/e/bindings/py/../c/ecere.h:8393:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT void (* Window_freeMouseRange)();
^
/home/redj/c/e/e/bindings/py/../c/ecere.h:8887:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT void (* Window_restoreCaret)();
^
_pyecere.c: In function ‘_cffi_d_Interface_clearClipboard’:
_pyecere.c:22030:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
Interface_clearClipboard(x0);
^
_pyecere.c:22030:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_f_Interface_clearClipboard’:
_pyecere.c:22052:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
{ Interface_clearClipboard(x0); }
^
_pyecere.c:22052:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_d_Interface_initialize’:
_pyecere.c:22739:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
return Interface_initialize(x0);
^
_pyecere.c:22739:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_f_Interface_initialize’:
_pyecere.c:22762:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
{ result = Interface_initialize(x0); }
^
_pyecere.c:22762:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_d_Interface_terminate’:
_pyecere.c:23992:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
Interface_terminate(x0);
^
_pyecere.c:23992:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_f_Interface_terminate’:
_pyecere.c:24014:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
{ Interface_terminate(x0); }
^
_pyecere.c:24014:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_d_Interface_wait’:
_pyecere.c:24187:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
Interface_wait(x0);
^
_pyecere.c:24187:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_f_Interface_wait’:
_pyecere.c:24209:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
{ Interface_wait(x0); }
^
_pyecere.c:24209:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_d_Skin_captionFont’:
_pyecere.c:26378:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
return Skin_captionFont(x0);
^
_pyecere.c:26378:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_f_Skin_captionFont’:
_pyecere.c:26401:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
{ result = Skin_captionFont(x0); }
^
_pyecere.c:26401:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_d_Skin_horizontalSBH’:
_pyecere.c:26624:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
return Skin_horizontalSBH(x0);
^
_pyecere.c:26624:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_f_Skin_horizontalSBH’:
_pyecere.c:26647:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
{ result = Skin_horizontalSBH(x0); }
^
_pyecere.c:26647:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_d_Skin_systemFont’:
_pyecere.c:27180:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
return Skin_systemFont(x0);
^
_pyecere.c:27180:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_f_Skin_systemFont’:
_pyecere.c:27203:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
{ result = Skin_systemFont(x0); }
^
_pyecere.c:27203:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_d_Skin_verticalSBW’:
_pyecere.c:27269:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
return Skin_verticalSBW(x0);
^
_pyecere.c:27269:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
_pyecere.c: In function ‘_cffi_f_Skin_verticalSBW’:
_pyecere.c:27292:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
{ result = Skin_verticalSBW(x0); }
^
_pyecere.c:27292:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
In file included from /home/redj/c/e/e/bindings/c/ecere.h:25:0,
from /home/redj/c/e/e/bindings/c/ecere.c:1:
/home/redj/c/e/e/bindings/c/eC.h:571:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void (* Initialize)();
^
/home/redj/c/e/e/bindings/c/eC.h:707:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
/home/redj/c/e/e/bindings/c/eC.h:819:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
In file included from /home/redj/c/e/e/bindings/c/ecere.c:1:0:
/home/redj/c/e/e/bindings/c/ecere.h:1715:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT C(DefaultShader) (* DefaultShader_shader)();
^
/home/redj/c/e/e/bindings/c/ecere.h:7084:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (** windowVTbl)();
^
/home/redj/c/e/e/bindings/c/ecere.h:8393:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT void (* Window_freeMouseRange)();
^
/home/redj/c/e/e/bindings/c/ecere.h:8887:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT void (* Window_restoreCaret)();
^
/home/redj/c/e/e/bindings/c/ecere.c:1434:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
LIB_EXPORT C(DefaultShader) (* DefaultShader_shader)();
^
/home/redj/c/e/e/bindings/c/ecere.c:1655:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
LIB_EXPORT void (* Window_freeMouseRange)();
^
/home/redj/c/e/e/bindings/c/ecere.c:1690:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
LIB_EXPORT void (* Window_restoreCaret)();
^
/home/redj/c/e/e/bindings/c/ecere.c: In function ‘ecere_init’:
/home/redj/c/e/e/bindings/c/ecere.c:6549:13: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
DefaultShader_shader = (C(DefaultShader) (*)())METHOD(DefaultShader, shader)->function;
^
/home/redj/c/e/e/bindings/c/ecere.c:8271:13: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
Window_freeMouseRange = (void (*)())METHOD(Window, freeMouseRange)->function;
^
/home/redj/c/e/e/bindings/c/ecere.c:8623:13: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
Window_restoreCaret = (void (*)())METHOD(Window, restoreCaret)->function;
^
Building Python 3 Bindings for EDA...
In file included from /home/redj/c/e/e/bindings/py/../c/ecere.h:25:0,
from /home/redj/c/e/e/bindings/py/../c/EDA.h:25,
from _pyEDA.c:492:
/home/redj/c/e/e/bindings/py/../c/eC.h:571:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void (* Initialize)();
^
/home/redj/c/e/e/bindings/py/../c/eC.h:707:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
/home/redj/c/e/e/bindings/py/../c/eC.h:819:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
In file included from /home/redj/c/e/e/bindings/py/../c/EDA.h:25:0,
from _pyEDA.c:492:
/home/redj/c/e/e/bindings/py/../c/ecere.h:1715:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT C(DefaultShader) (* DefaultShader_shader)();
^
/home/redj/c/e/e/bindings/py/../c/ecere.h:7084:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (** windowVTbl)();
^
/home/redj/c/e/e/bindings/py/../c/ecere.h:8393:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT void (* Window_freeMouseRange)();
^
/home/redj/c/e/e/bindings/py/../c/ecere.h:8887:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT void (* Window_restoreCaret)();
^
In file included from /home/redj/c/e/e/bindings/c/ecere.h:25:0,
from /home/redj/c/e/e/bindings/c/EDA.h:25,
from /home/redj/c/e/e/bindings/c/EDA.c:1:
/home/redj/c/e/e/bindings/c/eC.h:571:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void (* Initialize)();
^
/home/redj/c/e/e/bindings/c/eC.h:707:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
/home/redj/c/e/e/bindings/c/eC.h:819:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (* function)();
^
In file included from /home/redj/c/e/e/bindings/c/EDA.h:25:0,
from /home/redj/c/e/e/bindings/c/EDA.c:1:
/home/redj/c/e/e/bindings/c/ecere.h:1715:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT C(DefaultShader) (* DefaultShader_shader)();
^
/home/redj/c/e/e/bindings/c/ecere.h:7084:4: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
int (** windowVTbl)();
^
/home/redj/c/e/e/bindings/c/ecere.h:8393:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT void (* Window_freeMouseRange)();
^
/home/redj/c/e/e/bindings/c/ecere.h:8887:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern THIS_LIB_IMPORT void (* Window_restoreCaret)();
^
redj@jytha:~/c/e/e/bindings/py$ python3 samples/1.try.py
Traceback (most recent call last):
File "samples/1.try.py", line 5, in <module>
from pyecere import GuiApplication, printLn
File "/home/redj/c/e/e/bindings/py/pyecere.py", line 1, in <module>
from pyeC import *
File "/home/redj/c/e/e/bindings/py/pyeC.py", line 1, in <module>
from _pyeC import *
ImportError: /home/redj/c/e/e/bindings/py/_pyeC.so: undefined symbol: PyInt_FromLong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment