Remove Go director hack just to please the SWIG test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5408fe8f00
commit
7e7bd74ff2
2 changed files with 4 additions and 11 deletions
|
|
@ -196,13 +196,3 @@ void __go_panic_msg(const char *);
|
|||
if (!(expr)) { _swig_gopanic(msg); } else
|
||||
%}
|
||||
|
||||
#ifdef __cplusplus
|
||||
/* We don't need a Swig::Director class, but the Swig testsuite
|
||||
expects one. */
|
||||
%insert(runtime) %{
|
||||
namespace Swig {
|
||||
typedef int Director;
|
||||
}
|
||||
%}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue