From: <ne...@us...> - 2012-07-09 17:08:53
|
Revision: 13292 http://swig.svn.sourceforge.net/swig/?rev=13292&view=rev Author: neha1 Date: 2012-07-09 17:08:43 +0000 (Mon, 09 Jul 2012) Log Message: ----------- Added example for overloaded functions. From: Oliver Buchtala <oli...@go...> Added Paths: ----------- branches/gsoc2012-javascript/Examples/javascript/overload/ branches/gsoc2012-javascript/Examples/javascript/overload/example.h branches/gsoc2012-javascript/Examples/javascript/overload/example.i Added: branches/gsoc2012-javascript/Examples/javascript/overload/example.h =================================================================== --- branches/gsoc2012-javascript/Examples/javascript/overload/example.h (rev 0) +++ branches/gsoc2012-javascript/Examples/javascript/overload/example.h 2012-07-09 17:08:43 UTC (rev 13292) @@ -0,0 +1,12 @@ + +void f(); + +void g(); + +void f(int x); + +void f(int x, int y); + +void f(double x); + +void g(int x); Added: branches/gsoc2012-javascript/Examples/javascript/overload/example.i =================================================================== --- branches/gsoc2012-javascript/Examples/javascript/overload/example.i (rev 0) +++ branches/gsoc2012-javascript/Examples/javascript/overload/example.i 2012-07-09 17:08:43 UTC (rev 13292) @@ -0,0 +1,9 @@ +/* File : example.i */ +%module example + +%{ +#include "example.h" +%} + +%include "example.h" + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |