diff options
Diffstat (limited to 'source/blender/python/intern/bpy_utils_units.h')
-rw-r--r-- | source/blender/python/intern/bpy_utils_units.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source/blender/python/intern/bpy_utils_units.h b/source/blender/python/intern/bpy_utils_units.h index 5a30c1c3dae..7a135bc6163 100644 --- a/source/blender/python/intern/bpy_utils_units.h +++ b/source/blender/python/intern/bpy_utils_units.h @@ -18,9 +18,14 @@ * \ingroup pythonintern */ -#ifndef __BPY_UTILS_UNITS_H__ -#define __BPY_UTILS_UNITS_H__ +#pragma once + +#ifdef __cplusplus +extern "C" { +#endif PyObject *BPY_utils_units(void); -#endif /* __BPY_UTILS_UNITS_H__ */ +#ifdef __cplusplus +} +#endif |