[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] =?utf-8?q?when_use_sip=2C_report_=22syntax_error=22?=
From:       "shaohua199" <shaohua199 () aliyun ! com>
Date:       2014-04-29 9:22:05
Message-ID: 8ee22dec-cd18-4950-978d-c92b04635d06 () aliyun ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,When I use sip to wrap one C library, first I createt the .sip file and con=
figure.py.But when I run python configure.py, it will report:sip: example.sip:=
10: syntax errorIn example line 10, has one interface like this:int init(int a=
rgc, char *argv[]);Seem it is caued by "char *argv[]", how can I make it work?=
Best wishes,Shaohua
[Attachment #5 (text/html)]

<div class="__aliyun_email_body_block"><div style="color: rgb(51, 51, 51); font-size: \
14px;">Hi,</div><div style="color: rgb(51, 51, 51); font-size: 14px;"><br \
data-mce-bogus="1"></div><div style="color: rgb(51, 51, 51); font-size: 14px;">When I \
use sip to wrap one C library, first I createt the .sip file and \
configure.py.</div><div style="color: rgb(51, 51, 51); font-size: 14px;"><br \
data-mce-bogus="1"></div><div style="color: rgb(51, 51, 51); font-size: 14px;">But \
when I run python configure.py, it will report:</div><div style="color: rgb(51, 51, \
51); font-size: 14px;">sip: example.sip:10: syntax error</div><div style="color: \
rgb(51, 51, 51); font-size: 14px;"><br data-mce-bogus="1"></div><div style="color: \
rgb(51, 51, 51); font-size: 14px;">In example line 10, has one interface like \
this:</div><div style="color: rgb(51, 51, 51); font-size: 14px;">int init(int argc, \
char *argv[]);</div><div style="color: rgb(51, 51, 51); font-size: 14px;"><br \
data-mce-bogus="1"></div><div style="color: rgb(51, 51, 51); font-size: 14px;">Seem \
it is caued by "char *argv[]", how can I make it work?</div><div style="color: \
rgb(51, 51, 51); font-size: 14px;"><br data-mce-bogus="1"></div><div style="color: \
rgb(51, 51, 51); font-size: 14px;">Best wishes,</div><div style="color: rgb(51, 51, \
51); font-size: 14px;">Shaohua</div></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic