bmesh py api:
[blender.git] / source / blender / python / bmesh / bmesh_py_types_customdata.h
index 0de79d7bd21066c2e2d841a38238e8d24b2254e1..6ec947f98fa58011d4fd189aa003f0c106ce489b 100644 (file)
@@ -68,4 +68,9 @@ PyObject *BPy_BMLayerItem_CreatePyObject(BMesh *bm, const char htype, int type,
 
 void BPy_BM_init_types_customdata(void);
 
+/* __getitem__ / __setitem__ */
+PyObject *BPy_BMLayerItem_GetItem(BPy_BMElem *py_ele, BPy_BMLayerItem *py_layer);
+int       BPy_BMLayerItem_SetItem(BPy_BMElem *py_ele, BPy_BMLayerItem *py_layer, PyObject *value);
+
+
 #endif /* __BMESH_PY_TYPES_CUSTOMDATA_H__ */