I have the following files:
a.h
----------------------------------------------------
#inlude <list>
#include "aa.h"
using namespace std;
namespace a {
typedef list<AA*> AAList;
};
---------------------------------------------------
aa.h
---------------------------------------------------
namespace a {
class AA {
// Class defenition...
};
};
--------------------------------------------------
ab.h
--------------------------------------------------
#include "a.h"
namespace a {
class B {
public:
AAList foo();
};
};
--------------------------------------------------
ab.sip
--------------------------------------------------
%Module foo
namespace a {
class B {
%TypeHeaderCode
#include "b.h
%End
public:
a:AAList foo();
};
};
--------------------------------------------------
How do I expose the AAList typedef? I've tried to create a aalist.sip
file whith a typedef in it but I get this error message:
unsupported function return type - provide %MethodCode and a C++ signature
Thanks in advance
-
Igor Chaves Canan�a
Emails: [EMAIL PROTECTED]
[EMAIL PROTECTED]
"In a world without FENCES and WALLS, who needs GATES and WINDOWS?"
_______________________________________________
PyKDE mailing list [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde