add %extern case

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-14 01:25:09 +00:00
commit acee51f66a

View file

@ -131,3 +131,27 @@ protected:
%template(HH) HH_T<int>;
%{
class OSRSpatialReferenceShadow {
private:
OSRSpatialReferenceShadow();
public:
};
%}
typedef void OSRSpatialReferenceShadow;
class OSRSpatialReferenceShadow {
private:
OSRSpatialReferenceShadow();
public:
%extend {
OSRSpatialReferenceShadow( char const * wkt = "" ) {
return 0;
}
}
};