Skip to content

Commit

Permalink
rename get_implementation_identifier to use rmw
Browse files Browse the repository at this point in the history
  • Loading branch information
wjwwood committed Mar 30, 2016
1 parent 2c1060a commit c4e2f63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rclpy/rclpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ def shutdown():
return _rclpy.rclpy_shutdown()


def get_implementation_identifier():
return _rclpy.rclpy_get_implementation_identifier()
def get_rmw_implementation_identifier():
return _rclpy.rclpy_get_rmw_implementation_identifier()
4 changes: 2 additions & 2 deletions rclpy/src/rclpy/_rclpy.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ rclpy_create_subscription(PyObject * Py_UNUSED(self), PyObject * args)
}

static PyObject *
rclpy_get_implementation_identifier(PyObject * Py_UNUSED(self), PyObject * Py_UNUSED(args))
rclpy_get_rmw_implementation_identifier(PyObject * Py_UNUSED(self), PyObject * Py_UNUSED(args))
{
const char * rmw_implementation_identifier = rmw_get_implementation_identifier();

Expand Down Expand Up @@ -398,7 +398,7 @@ static PyMethodDef rclpy_methods[] = {
{"rclpy_shutdown", rclpy_shutdown, METH_NOARGS,
"rclpy_shutdown."},

{"rclpy_get_implementation_identifier", rclpy_get_implementation_identifier,
{"rclpy_get_rmw_implementation_identifier", rclpy_get_rmw_implementation_identifier,
METH_NOARGS, "Retrieve the identifier for the active RMW implementation."},
{NULL, NULL, 0, NULL} /* sentinel */
};
Expand Down

0 comments on commit c4e2f63

Please sign in to comment.