Skip to content

Commit

Permalink
Python: Fix wrapper function miss matching (#1285)
Browse files Browse the repository at this point in the history
  • Loading branch information
GJYang authored and FlorianReimold committed Jan 19, 2024
1 parent ec3cb2e commit 2552e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lang/python/core/ecal/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def client_set_hostname(client_handle, host_name):
:type host_name: string
"""
return _ecal.client_set_host_name(client_handle, host_name)
return _ecal.client_set_hostname(client_handle, host_name)


def client_add_response_callback(client_handle, callback):
Expand Down
2 changes: 1 addition & 1 deletion lang/python/core/ecal/core/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def set_hostname(self, host_name):
:type host_name: string
"""
return ecal_core.client_set_host_name(self.shandle, host_name)
return ecal_core.client_set_hostname(self.shandle, host_name)

def add_response_callback(self, callback):
""" add response callback to client
Expand Down

0 comments on commit 2552e9e

Please sign in to comment.