MCPcopy Create free account
hub / github.com/UPBGE/upbge / PyBool_from_bool

Function PyBool_from_bool

source/blender/freestyle/intern/python/BPy_Convert.cpp:73–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71//==============================
72
73PyObject *PyBool_from_bool(bool b)
74{
75 return PyBool_FromLong(b ? 1 : 0);
76}
77
78PyObject *Vector_from_Vec2f(Vec2f &vec)
79{

Calls

no outgoing calls

Tested by

no test coverage detected