|
|
|
@ -24,13 +24,14 @@ import magnum.trade |
|
|
|
|
|
|
|
|
|
|
|
# So the doc see everything |
|
|
|
# So the doc see everything |
|
|
|
# TODO: use just +=, m.css should reorder this on its own |
|
|
|
# TODO: use just +=, m.css should reorder this on its own |
|
|
|
corrade.__all__ = ['containers', 'pluginmanager', 'BUILD_STATIC', 'BUILD_MULTITHREADED', 'TARGET_UNIX', 'TARGET_APPLE', 'TARGET_IOS', 'TARGET_IOS_SIMULATOR', 'TARGET_WINDOWS', 'TARGET_WINDOWS_RT', 'TARGET_EMSCRIPTEN', 'TARGET_ANDROID'] |
|
|
|
corrade.__all__ = ['containers', 'pluginmanager', 'BUILD_DEPRECATED', 'BUILD_STATIC', 'BUILD_MULTITHREADED', 'TARGET_UNIX', 'TARGET_APPLE', 'TARGET_IOS', 'TARGET_IOS_SIMULATOR', 'TARGET_WINDOWS', 'TARGET_WINDOWS_RT', 'TARGET_EMSCRIPTEN', 'TARGET_ANDROID'] |
|
|
|
magnum.__all__ = ['math', 'gl', 'meshtools', 'platform', 'primitives', 'shaders', 'scenegraph', 'text', 'trade', 'BUILD_STATIC', 'TARGET_GL', 'TARGET_GLES', 'TARGET_GLES2', 'TARGET_WEBGL', 'TARGET_EGL', 'TARGET_VK'] + magnum.__all__ |
|
|
|
magnum.__all__ = ['math', 'gl', 'meshtools', 'platform', 'primitives', 'shaders', 'scenegraph', 'text', 'trade', 'BUILD_DEPRECATED', 'BUILD_STATIC', 'TARGET_GL', 'TARGET_GLES', 'TARGET_GLES2', 'TARGET_WEBGL', 'TARGET_EGL', 'TARGET_VK'] + magnum.__all__ |
|
|
|
|
|
|
|
|
|
|
|
# hide values of the preprocessor defines to avoid confusion by assigning a |
|
|
|
# hide values of the preprocessor defines to avoid confusion by assigning a |
|
|
|
# class without __repr__ to them |
|
|
|
# class without __repr__ to them |
|
|
|
# TODO: more systematic solution directly in m.css |
|
|
|
# TODO: more systematic solution directly in m.css |
|
|
|
class DoNotPrintValue: pass |
|
|
|
class DoNotPrintValue: pass |
|
|
|
|
|
|
|
corrade.BUILD_DEPRECATED = DoNotPrintValue() |
|
|
|
corrade.BUILD_STATIC = DoNotPrintValue() |
|
|
|
corrade.BUILD_STATIC = DoNotPrintValue() |
|
|
|
corrade.BUILD_MULTITHREADED = DoNotPrintValue() |
|
|
|
corrade.BUILD_MULTITHREADED = DoNotPrintValue() |
|
|
|
corrade.TARGET_UNIX = DoNotPrintValue() |
|
|
|
corrade.TARGET_UNIX = DoNotPrintValue() |
|
|
|
@ -41,6 +42,7 @@ corrade.TARGET_WINDOWS = DoNotPrintValue() |
|
|
|
corrade.TARGET_WINDOWS_RT = DoNotPrintValue() |
|
|
|
corrade.TARGET_WINDOWS_RT = DoNotPrintValue() |
|
|
|
corrade.TARGET_EMSCRIPTEN = DoNotPrintValue() |
|
|
|
corrade.TARGET_EMSCRIPTEN = DoNotPrintValue() |
|
|
|
corrade.TARGET_ANDROID = DoNotPrintValue() |
|
|
|
corrade.TARGET_ANDROID = DoNotPrintValue() |
|
|
|
|
|
|
|
magnum.BUILD_DEPRECATED = DoNotPrintValue() |
|
|
|
magnum.BUILD_STATIC = DoNotPrintValue() |
|
|
|
magnum.BUILD_STATIC = DoNotPrintValue() |
|
|
|
magnum.TARGET_GL = DoNotPrintValue() |
|
|
|
magnum.TARGET_GL = DoNotPrintValue() |
|
|
|
magnum.TARGET_GLES = DoNotPrintValue() |
|
|
|
magnum.TARGET_GLES = DoNotPrintValue() |
|
|
|
@ -51,6 +53,7 @@ magnum.TARGET_VK = DoNotPrintValue() |
|
|
|
|
|
|
|
|
|
|
|
# TODO ugh... can this be expressed directly in pybind? |
|
|
|
# TODO ugh... can this be expressed directly in pybind? |
|
|
|
corrade.__annotations__ = { |
|
|
|
corrade.__annotations__ = { |
|
|
|
|
|
|
|
'BUILD_DEPRECATED': bool, |
|
|
|
'BUILD_STATIC': bool, |
|
|
|
'BUILD_STATIC': bool, |
|
|
|
'BUILD_MULTITHREADED': bool, |
|
|
|
'BUILD_MULTITHREADED': bool, |
|
|
|
'TARGET_UNIX': bool, |
|
|
|
'TARGET_UNIX': bool, |
|
|
|
@ -63,6 +66,7 @@ corrade.__annotations__ = { |
|
|
|
'TARGET_ANDROID': bool |
|
|
|
'TARGET_ANDROID': bool |
|
|
|
} |
|
|
|
} |
|
|
|
magnum.__annotations__ = { |
|
|
|
magnum.__annotations__ = { |
|
|
|
|
|
|
|
'BUILD_DEPRECATED': bool, |
|
|
|
'BUILD_STATIC': bool, |
|
|
|
'BUILD_STATIC': bool, |
|
|
|
'TARGET_GL': bool, |
|
|
|
'TARGET_GL': bool, |
|
|
|
'TARGET_GLES': bool, |
|
|
|
'TARGET_GLES': bool, |
|
|
|
|