Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
%module mymodule %{ #include file.h int foo(); %} int foo(); int bar();
Why is this double declaration of function foo()?
2) Some functions are only declared outside the block like the function bar(). What is the difference in declaring inside and outside the bloack?
3) What is difference between %include and %import.
Kindly enlighten me
Thanking you all in advance
Regards,
Ashu
Edit: g0n - added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Confusion regarding SWIG
by salva (Canon) on Dec 10, 2005 at 11:21 UTC | |
|
Re: Confusion regarding SWIG
by eric256 (Parson) on Dec 09, 2005 at 16:54 UTC | |
by jeffguy (Sexton) on Dec 09, 2005 at 17:55 UTC |