15#elif defined(__APPLE__)
36 *r_error_msg =
nullptr;
56#elif defined(__APPLE__)
66 const char *imports[] = {
68 "_bpy_internal.platform.freedesktop",
74 "_bpy_internal.platform.freedesktop.%s(all_users=%d)",
75 do_register ?
"register" :
"unregister",
82 char *value =
nullptr;
84 result = (value ==
nullptr);
#define SNPRINTF(dst, format,...)
Compatibility-like things for windows.
bool BLI_windows_unregister_blend_extension(bool all_users)
bool BLI_windows_execute_self(const char *parameters, const bool wait, const bool elevated, const bool silent)
bool WM_platform_associate_set(bool do_register, bool all_users, char **r_error_msg)
void CTX_free(bContext *C)
bool BLI_windows_register_blend_extension(bool all_users)
bool bool bool bool bool bool BPY_run_string_as_string_or_none(bContext *C, const char *imports[], const char *expr, BPy_RunErrInfo *err_info, char **r_value) ATTR_NONNULL(1
bool use_single_line_error