Changeset View
Changeset View
Standalone View
Standalone View
source/blender/bmesh/intern/bmesh_operator_api.h
| Show First 20 Lines • Show All 495 Lines • ▼ Show 20 Lines | |||||
| int BMO_iter_map_value_int(BMOIter *iter); | int BMO_iter_map_value_int(BMOIter *iter); | ||||
| bool BMO_iter_map_value_bool(BMOIter *iter); | bool BMO_iter_map_value_bool(BMOIter *iter); | ||||
| #define BMO_ITER(ele, iter, slot_args, slot_name, restrict_flag) \ | #define BMO_ITER(ele, iter, slot_args, slot_name, restrict_flag) \ | ||||
| for (BM_CHECK_TYPE_ELEM_ASSIGN(ele) = BMO_iter_new(iter, slot_args, slot_name, restrict_flag); \ | for (BM_CHECK_TYPE_ELEM_ASSIGN(ele) = BMO_iter_new(iter, slot_args, slot_name, restrict_flag); \ | ||||
| ele; \ | ele; \ | ||||
| BM_CHECK_TYPE_ELEM_ASSIGN(ele) = BMO_iter_step(iter)) | BM_CHECK_TYPE_ELEM_ASSIGN(ele) = BMO_iter_step(iter)) | ||||
| #define BMO_ITER_INDEX(ele, iter, slot_args, slot_name, restrict_flag, i_) \ | |||||
| for (BM_CHECK_TYPE_ELEM_ASSIGN(ele) = BMO_iter_new(iter, slot_args, slot_name, restrict_flag), i_ = 0; \ | |||||
| ele; \ | |||||
| BM_CHECK_TYPE_ELEM_ASSIGN(ele) = BMO_iter_step(iter), i_++) | |||||
| /******************* Inlined Functions********************/ | |||||
| typedef void (*opexec)(BMesh *bm, BMOperator *op); | |||||
| extern const int BMO_OPSLOT_TYPEINFO[BMO_OP_SLOT_TOTAL_TYPES]; | extern const int BMO_OPSLOT_TYPEINFO[BMO_OP_SLOT_TOTAL_TYPES]; | ||||
| int BMO_opcode_from_opname(const char *opname); | int BMO_opcode_from_opname(const char *opname); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* __BMESH_OPERATOR_API_H__ */ | #endif /* __BMESH_OPERATOR_API_H__ */ | ||||