1
0
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:
Francois Coppens 2022-07-11 15:05:21 +02:00
parent a8fd8812a3
commit f29aa7558c

View File

@ -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 */