I'm a complete newbie to SIP, so please feel free to direct me to any
FAQs, documents etc. that I have missed.
I'm trying to wrap a very basic class:
class Foo {
int var;
public:
void setVar(int v);
int getVar();
};
with the following .sip file
class Foo {
%HeaderCode
I'm sure I'm doing something really stupid, but I can't figure out
what...
I built libsip_d.dll without the Qt extensions, removing the -DNO_DEBUG
option, and adding /Zi.
D:\siptest\sipCellpython_d
Adding parser accelerators ...
Done.
Python 2.2.1 (#34, May 3 2002, 11:03:11) [MSC 32 bit
Is there a way to do Python 2.2 properties with SIP (or read-only
attributes in general)?
-- bjorn
___
PyKDE mailing list[EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde
I'm having problems with the SIP generated code on windows. The
generated code looks like (.h):
extern SIP_MODULE_EXTERN char
sipName_NrxDataTypes_findMostRecentScoringInstance[];
extern SIP_MODULE_EXTERN char sipName_NrxDataTypes_getNarexOwnerId[];
extern SIP_MODULE_EXTERN char
I'm trying to wrap a library that calls into ADO. ADO being a COM thing,
needs to have
CoInitialize(NULL);
called before any other calls... Is there anywhere convenient to put
this code? (I couldn't find an example of this in PyQT).
-- bjorn
___
From: Phil Thompson [mailto:[EMAIL PROTECTED]]
Bjorn Pettersen wrote:
I'm trying to wrap a library that calls into ADO. ADO being a COM
thing, needs to have
CoInitialize(NULL);
called before any other calls... Is there anywhere
convenient to put
this code? (I
From: Bjorn Pettersen
I hate to reply to myself...
I'm trying to embed Python, which is working nicely, however
I also want to access objects from my SIP wrapped library
from Python. I tried the following code:
int main() {
Py_Initialize();
Here I need to let Python load