]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/common/ChangeLog
sim: callback: inline wrap helper
authorMike Frysinger <vapier@gentoo.org>
Sat, 24 Apr 2021 18:28:17 +0000 (14:28 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 1 May 2021 13:58:27 +0000 (09:58 -0400)
commitccf2e5927c241c40c680e8681dd961210c791a29
tree8232411ed1d8c434ccd8d65218d8027552316bcc
parent6aee2cb249daca249353d0dcceb0329a1662623c
sim: callback: inline wrap helper

This is annoying as it requires inlining boiler plate, but we don't
have much choice: the wrap helper assumes the return value is always
an int, but that's already not the case with some of the callbacks
which use long.  GCC has extensions to define macros-as-functions,
but we can't assume GCC.
sim/common/ChangeLog
sim/common/callback.c