the only problem now its seems is that the cpp file defining the namespace
functions is not including the headers for the other classes in the module it
requires:
sip file:
namespace PK
{
PK::MediaLayer *CreateMediaLayer(const char *);
void SeperateStereo(PK::Segment *, PK::Segment *, PK::Segment *);
float NominalTempo();
void PrintSegment(PK::Segment *);
//void PrintSegment(short *, uint);
//void PrintSegment(float *, uint);
bool Connected(PK::Module *, PK::Module *);
PK::Engine *GetEngine();
PK::Mixer *GetMixer(int=0);
int NumMixers();
int BufferSize();
int SampleRate();
};
so if the module is pkaudio, sippkaudioPK.cpp isn't including the headers for
sipClass_PK_Module, sipClass_PK_Mixer, etc. (sippkaudioPKMixer.h...etc).
I added the code myself, and it compiled, so that should be the last thing.
-P
On Monday 05 January 2004 13:47, Phil Thompson wrote:
> On Monday 05 January 2004 3:05 am, Patrick Stinson wrote:
> > -----------------------------------------------
> >
> >
> > Each of the pk_*.sip files contain one or more classes defined within the
> > PK namespace, and nothing more.
> > Other things (full project snaps, etc are here:)
> >
> > http://br.logorrhea.com/skel/pksampler
> >
> > On Sunday 04 January 2004 01:34, Phil Thompson wrote:
> > > On Saturday 03 January 2004 9:42 pm, Patrick Stinson wrote:
> > > > In upgrading from sip3.8 to the latest sip4 snapshot, I'm having
> > > > problems with namespace member methods.
> > > >
> > > > After finding some minor filename changes, I found that sip4 doesn't
> > > > seem to define the methods residing in the namespace I've created.
> > > > The PyMethodDef struct is there, but gcc complains about the meth_*
> > > > objects not being defined. The corresponding cpp file doesn't include
> > > > them, and a grep reveals that they are not in the directory. Is there
> > > > a new flag I need that sip3 didn't? Couldn't find anything in
> > > > ChangeLog.
> > >
> > > Can you send me a .sip file that demonstrates the problem?
>
> Should be fixed in tonight's snapshot.
>
> Thanks,
> Phil
>
> _______________________________________________
> PyKDE mailing list [EMAIL PROTECTED]
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
_______________________________________________
PyKDE mailing list [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde