1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-11-19 20:42:50 +01:00

Add macro for qmckl_last_error function

This commit is contained in:
q-posev 2022-08-18 19:22:52 +02:00
parent 9711f2699c
commit ada19167c7

View File

@ -30,6 +30,8 @@
%cstring_bounded_output(char* function_name, 1024); %cstring_bounded_output(char* function_name, 1024);
%cstring_bounded_output(char* message, 1024); %cstring_bounded_output(char* message, 1024);
%cstring_bounded_output(char* const basis_type, 2); %cstring_bounded_output(char* const basis_type, 2);
/* Required for qmckl_last_error function to work */
%cstring_bounded_output(char* buffer, 1024);
/* This block is needed make SWIG convert NumPy arrays to/from from the C pointer and size_max argument. /* This block is needed make SWIG convert NumPy arrays to/from from the C pointer and size_max argument.
NOTE: `numpy.i` interface file is not part of SWIG but it is included in the numpy distribution (under numpy/tools/swig/numpy.i) NOTE: `numpy.i` interface file is not part of SWIG but it is included in the numpy distribution (under numpy/tools/swig/numpy.i)