Blender
V3.3
source
blender
editors
space_script
script_ops.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later
2
* Copyright 2008 Blender Foundation. All rights reserved. */
3
8
#include <math.h>
9
#include <stdlib.h>
10
11
#include "
WM_api.h
"
12
13
#include "
script_intern.h
"
14
15
/* ************************** registration **********************************/
16
17
void
script_operatortypes
(
void
)
18
{
19
WM_operatortype_append
(
SCRIPT_OT_python_file_run
);
20
WM_operatortype_append
(
SCRIPT_OT_reload
);
21
}
22
23
void
script_keymap
(
wmKeyConfig
*
UNUSED
(keyconf))
24
{
25
/* Script space is deprecated, and doesn't need a keymap */
26
}
UNUSED
#define UNUSED(x)
Definition:
BLI_utildefines.h:671
WM_api.h
SCRIPT_OT_reload
void SCRIPT_OT_reload(wmOperatorType *ot)
Definition:
script_edit.c:136
SCRIPT_OT_python_file_run
void SCRIPT_OT_python_file_run(wmOperatorType *ot)
Definition:
script_edit.c:50
script_intern.h
script_keymap
void script_keymap(wmKeyConfig *UNUSED(keyconf))
Definition:
script_ops.c:23
script_operatortypes
void script_operatortypes(void)
Definition:
script_ops.c:17
wmKeyConfig
Definition:
DNA_windowmanager_types.h:498
WM_operatortype_append
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))
Definition:
wm_operator_type.c:123
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1