preproc.i: Also note URL for "// in macro" PR
This commit is contained in:
parent
ba3773e1be
commit
1915740af8
1 changed files with 2 additions and 1 deletions
|
|
@ -373,7 +373,8 @@ int methodX(int x);
|
||||||
int methodX(int x) { return x+100; }
|
int methodX(int x) { return x+100; }
|
||||||
%}
|
%}
|
||||||
|
|
||||||
// Comma in macro - Github issue #974
|
// Comma in macro - https://github.com/swig/swig/issues/974 (for /* */)
|
||||||
|
// and https://github.com/swig/swig/pull/1166 (for //)
|
||||||
%inline %{
|
%inline %{
|
||||||
#define swig__attribute__(x)
|
#define swig__attribute__(x)
|
||||||
#define TCX_PACKED(d) d swig__attribute__ ((__packed__))
|
#define TCX_PACKED(d) d swig__attribute__ ((__packed__))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue