Skip to content

Commit

Permalink
refactor: Adopt new name for error enum in NGC.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Mar 12, 2024
1 parent 5cdbef9 commit d0323a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pytox/toxcore/tox.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ cdef extern from "tox/tox.h":
TOX_ERR_GROUP_INVITE_ACCEPT_TOO_LONG
TOX_ERR_GROUP_INVITE_ACCEPT_EMPTY
TOX_ERR_GROUP_INVITE_ACCEPT_PASSWORD
TOX_ERR_GROUP_INVITE_ACCEPT_CORE
TOX_ERR_GROUP_INVITE_ACCEPT_FRIEND_NOT_FOUND
TOX_ERR_GROUP_INVITE_ACCEPT_FAIL_SEND
cpdef enum Tox_Group_Exit_Type:
TOX_GROUP_EXIT_TYPE_QUIT
Expand Down
6 changes: 3 additions & 3 deletions pytox/toxcore/tox.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class Tox_Ptr:
def handle_group_custom_private_packet(self, group_number: Tox_Group_Number, peer_id: Tox_Group_Peer_Number, data: bytes) -> None: ...
def handle_group_invite(self, friend_number: Tox_Friend_Number, invite_data: bytes, group_name: bytes) -> None: ...
def handle_group_join_fail(self, group_number: Tox_Group_Number, fail_type: Tox_Group_Join_Fail) -> None: ...
def handle_group_message(self, group_number: Tox_Group_Number, peer_id: Tox_Group_Peer_Number, type_: Tox_Message_Type, message: bytes, message_id: Tox_Group_Message_Id) -> None: ...
def handle_group_message(self, group_number: Tox_Group_Number, peer_id: Tox_Group_Peer_Number, message_type: Tox_Message_Type, message: bytes, message_id: Tox_Group_Message_Id) -> None: ...
def handle_group_moderation(self, group_number: Tox_Group_Number, source_peer_id: Tox_Group_Peer_Number, target_peer_id: Tox_Group_Peer_Number, mod_type: Tox_Group_Mod_Event) -> None: ...
def handle_group_password(self, group_number: Tox_Group_Number, password: bytes) -> None: ...
def handle_group_peer_exit(self, group_number: Tox_Group_Number, peer_id: Tox_Group_Peer_Number, exit_type: Tox_Group_Exit_Type, name: bytes, part_message: bytes) -> None: ...
Expand All @@ -230,7 +230,7 @@ class Tox_Ptr:
def handle_group_peer_name(self, group_number: Tox_Group_Number, peer_id: Tox_Group_Peer_Number, name: bytes) -> None: ...
def handle_group_peer_status(self, group_number: Tox_Group_Number, peer_id: Tox_Group_Peer_Number, status: Tox_User_Status) -> None: ...
def handle_group_privacy_state(self, group_number: Tox_Group_Number, privacy_state: Tox_Group_Privacy_State) -> None: ...
def handle_group_private_message(self, group_number: Tox_Group_Number, peer_id: Tox_Group_Peer_Number, type_: Tox_Message_Type, message: bytes, message_id: Tox_Group_Message_Id) -> None: ...
def handle_group_private_message(self, group_number: Tox_Group_Number, peer_id: Tox_Group_Peer_Number, message_type: Tox_Message_Type, message: bytes, message_id: Tox_Group_Message_Id) -> None: ...
def handle_group_self_join(self, group_number: Tox_Group_Number) -> None: ...
def handle_group_topic(self, group_number: Tox_Group_Number, peer_id: Tox_Group_Peer_Number, topic: bytes) -> None: ...
def handle_group_topic_lock(self, group_number: Tox_Group_Number, topic_lock: Tox_Group_Topic_Lock) -> None: ...
Expand Down Expand Up @@ -388,9 +388,9 @@ TOX_ERR_GROUP_DISCONNECT_ALREADY_DISCONNECTED: Tox_Err_Group_Disconnect
TOX_ERR_GROUP_DISCONNECT_GROUP_NOT_FOUND: Tox_Err_Group_Disconnect
TOX_ERR_GROUP_DISCONNECT_OK: Tox_Err_Group_Disconnect
TOX_ERR_GROUP_INVITE_ACCEPT_BAD_INVITE: Tox_Err_Group_Invite_Accept
TOX_ERR_GROUP_INVITE_ACCEPT_CORE: Tox_Err_Group_Invite_Accept
TOX_ERR_GROUP_INVITE_ACCEPT_EMPTY: Tox_Err_Group_Invite_Accept
TOX_ERR_GROUP_INVITE_ACCEPT_FAIL_SEND: Tox_Err_Group_Invite_Accept
TOX_ERR_GROUP_INVITE_ACCEPT_FRIEND_NOT_FOUND: Tox_Err_Group_Invite_Accept
TOX_ERR_GROUP_INVITE_ACCEPT_INIT_FAILED: Tox_Err_Group_Invite_Accept
TOX_ERR_GROUP_INVITE_ACCEPT_OK: Tox_Err_Group_Invite_Accept
TOX_ERR_GROUP_INVITE_ACCEPT_PASSWORD: Tox_Err_Group_Invite_Accept
Expand Down

0 comments on commit d0323a2

Please sign in to comment.