diff --git a/src/entity-py.cc b/src/entity-py.cc index fa2fc48d55676cd9f51cf42b0fd1b91aeaa563ed..7971b884efafd66221f7cdb3b74e713eaf271490 100644 --- a/src/entity-py.cc +++ b/src/entity-py.cc @@ -40,7 +40,7 @@ namespace dynamicgraph { return NULL; } - // Return the pointer as an integer + // Return the pointer as a PyCObject return PyCObject_FromVoidPtr((void*)obj, destroy); }