diff --git a/doc/python_api/rst_from_bmesh_opdefines.py b/doc/python_api/rst_from_bmesh_opdefines.py index 98212238b2d..3b10d5da46d 100644 --- a/doc/python_api/rst_from_bmesh_opdefines.py +++ b/doc/python_api/rst_from_bmesh_opdefines.py @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later # This is a quite stupid script which extracts bmesh api docs from -# 'bmesh_opdefines.c' in order to avoid having to add a lot of introspection +# 'bmesh_opdefines.cc' in order to avoid having to add a lot of introspection # data access into the api. # # The script is stupid because it makes assumptions about formatting... @@ -19,7 +19,7 @@ import re CURRENT_DIR = os.path.abspath(os.path.dirname(__file__)) SOURCE_DIR = os.path.normpath(os.path.abspath(os.path.normpath(os.path.join(CURRENT_DIR, "..", "..")))) -FILE_OP_DEFINES_C = os.path.join(SOURCE_DIR, "source", "blender", "bmesh", "intern", "bmesh_opdefines.c") +FILE_OP_DEFINES_CC = os.path.join(SOURCE_DIR, "source", "blender", "bmesh", "intern", "bmesh_opdefines.cc") OUT_RST = os.path.join(CURRENT_DIR, "rst", "bmesh.ops.rst") HEADER = r""" @@ -43,7 +43,7 @@ This script shows how operators can be used to model a link of a chain. def main(): - fsrc = open(FILE_OP_DEFINES_C, 'r', encoding="utf-8") + fsrc = open(FILE_OP_DEFINES_CC, 'r', encoding="utf-8") blocks = [] diff --git a/source/blender/bmesh/intern/bmesh_operator_api.h b/source/blender/bmesh/intern/bmesh_operator_api.h index e032c521fc7..29e8b57673d 100644 --- a/source/blender/bmesh/intern/bmesh_operator_api.h +++ b/source/blender/bmesh/intern/bmesh_operator_api.h @@ -30,10 +30,10 @@ extern "C" { * - hash mappings. * * each slot is identified by a slot code, as are each operator. - * operators, and their slots, are defined in bmesh_opdefines.c (with their + * operators, and their slots, are defined in bmesh_opdefines.cc (with their * execution functions prototyped in bmesh_operators_private.h), with all their * operator code and slot codes defined in bmesh_operators.h. see - * bmesh_opdefines.c and the BMOpDefine struct for how to define new operators. + * bmesh_opdefines.cc and the BMOpDefine struct for how to define new operators. * * in general, operators are fed arrays of elements, created using either * #BMO_slot_buffer_from_hflag or #BMO_slot_buffer_from_flag diff --git a/source/blender/bmesh/intern/bmesh_operators.h b/source/blender/bmesh/intern/bmesh_operators.h index 6e1c24a5f26..7a3b2ffa7d8 100644 --- a/source/blender/bmesh/intern/bmesh_operators.h +++ b/source/blender/bmesh/intern/bmesh_operators.h @@ -8,7 +8,7 @@ * \ingroup bmesh */ -/* See comments in `intern/bmesh_opdefines.c` for documentation of specific operators. */ +/* See comments in `intern/bmesh_opdefines.cc` for documentation of specific operators. */ #ifdef __cplusplus extern "C" {