Return the define value to use for NPY_VISIBILITY_HIDDEN (may be empty string).
(config)
| 404 | |
| 405 | |
| 406 | def visibility_define(config): |
| 407 | """Return the define value to use for NPY_VISIBILITY_HIDDEN (may be empty |
| 408 | string).""" |
| 409 | hide = '__attribute__((visibility("hidden")))' |
| 410 | if config.check_gcc_function_attribute(hide, 'hideme'): |
| 411 | return hide |
| 412 | else: |
| 413 | return '' |
| 414 | |
| 415 | def configuration(parent_package='',top_path=None): |
| 416 | from numpy.distutils.misc_util import (Configuration, dot_join, |
no test coverage detected