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:
parent
2b805e684e
commit
acee51f66a
1 changed files with 24 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue