15 Nov 13:01
Class as a class datamember
From: DevOrion <dev_orion <at> yahoo.com>
Subject: Class as a class datamember
Newsgroups: gmane.comp.programming.swig
Date: 2008-11-15 12:01:23 GMT
Subject: Class as a class datamember
Newsgroups: gmane.comp.programming.swig
Date: 2008-11-15 12:01:23 GMT
Hi,
I am getting undefined symbol error when i declare class as a data member of
another class.
Here is the interface code
%module Orion
class A;
class B {
public:
B(){}
static const A a;
}
Can somebody help resolve the error or explain correct way to do it.
Regards,
Dev
--
--
View this message in context: http://www.nabble.com/Class-as-a-class-datamember-tp20514803p20514803.html
Sent from the swig-user mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
RSS Feed