mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-10-02 14:31:07 +02:00
Added defines so SWIG ignores __restrict and __attribure__(x).
This commit is contained in:
parent
a8fd8812a3
commit
f29aa7558c
@ -50,6 +50,12 @@ import_array();
|
||||
|
||||
/* Handle properly get_point */
|
||||
|
||||
/*
|
||||
Looks like SWIG cannot parse the __attribute and __restrict,
|
||||
see https://stackoverflow.com/questions/17889678/is-ignoring-attribute-packed-always-safe-in-swig-interfaces
|
||||
*/
|
||||
#define __attribute__(x)
|
||||
#define __restrict
|
||||
|
||||
|
||||
/* exception.i is a generic (language-independent) module */
|
||||
|
Loading…
Reference in New Issue
Block a user