Skip to content

Commit

Permalink
mark functions called from C code as noexcept
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardoGomesNegri committed Dec 2, 2024
1 parent ae2dd3b commit 63d9afb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libretro/libretro.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ namespace MelonDsDs {
extern "C" void HardwareContextReset() noexcept;
extern "C" void HardwareContextDestroyed() noexcept;
extern "C" bool UpdateOptionVisibility() noexcept;
extern "C" void MpStarted(uint16_t client_id, retro_netpacket_send_t send_fn, retro_netpacket_poll_receive_t poll_receive_fn);
extern "C" void MpReceived(const void* buf, size_t len, uint16_t client_id);
extern "C" void MpStopped();
extern "C" void MpStarted(uint16_t client_id, retro_netpacket_send_t send_fn, retro_netpacket_poll_receive_t poll_receive_fn) noexcept;
extern "C" void MpReceived(const void* buf, size_t len, uint16_t client_id) noexcept;
extern "C" void MpStopped() noexcept;
}

#endif //MELONDS_DS_LIBRETRO_HPP

0 comments on commit 63d9afb

Please sign in to comment.