diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/python/generic/bpy_internal_import.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/python/generic/bpy_internal_import.h')
-rw-r--r-- | source/blender/python/generic/bpy_internal_import.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/source/blender/python/generic/bpy_internal_import.h b/source/blender/python/generic/bpy_internal_import.h index bb02b7c2cfe..2ab535d1018 100644 --- a/source/blender/python/generic/bpy_internal_import.h +++ b/source/blender/python/generic/bpy_internal_import.h @@ -18,7 +18,6 @@ * \ingroup pygen */ - /* Note, the BGE needs to use this too, keep it minimal */ #ifndef __BPY_INTERNAL_IMPORT_H__ @@ -26,26 +25,26 @@ /* python redefines :/ */ #ifdef _POSIX_C_SOURCE -#undef _POSIX_C_SOURCE +# undef _POSIX_C_SOURCE #endif #ifdef _XOPEN_SOURCE -#undef _XOPEN_SOURCE +# undef _XOPEN_SOURCE #endif struct Text; void bpy_import_init(PyObject *builtins); -bool bpy_text_compile(struct Text *text); -PyObject *bpy_text_import(struct Text *text); -PyObject *bpy_text_import_name(const char *name, int *found); -PyObject *bpy_text_reimport(PyObject *module, int *found); -/* void bpy_text_clear_modules(int clear_all);*/ /* Clear user modules */ +bool bpy_text_compile(struct Text *text); +PyObject *bpy_text_import(struct Text *text); +PyObject *bpy_text_import_name(const char *name, int *found); +PyObject *bpy_text_reimport(PyObject *module, int *found); +/* void bpy_text_clear_modules(int clear_all);*/ /* Clear user modules */ void bpy_text_filename_get(char *fn, size_t fn_len, struct Text *text); struct Main *bpy_import_main_get(void); void bpy_import_main_set(struct Main *maggie); -#endif /* __BPY_INTERNAL_IMPORT_H__ */ +#endif /* __BPY_INTERNAL_IMPORT_H__ */ |