This code disallows a binding generator to include both options
#ifdef API_SCILAB_UNSAFE
#define API_PROTO(x) scilab_internal_##x##unsafe
#define API_EXPORT_PROTO(x) scilab##x
#else
#define API_PROTO(x) scilab_internal_##x##safe
#define API_EXPORT_PROTO(x) scilab##x
#endif
This decision should be left to the caller of the generated bindings and not imposed on the generator