[freeciv/freeciv] 821286: tolua: Use NULL instead of nullptr in toluabind.c

freeciv-commits <[email protected]>
Newsgroups gmane.games.freeciv.devel
Message-ID <freeciv/freeciv/push/refs/heads/main/[email protected]>
  Branch: refs/heads/main
  Home:   https://github.com/freeciv/freeciv
  Commit: 8212860287001e795bccfa80f3de0cfc96b01be4
      https://github.com/freeciv/freeciv/commit/8212860287001e795bccfa80f3de0cfc96b01be4
  Author: Marko Lindqvist <[email protected]>
  Date:   2026-08-22 (Sat, 22 Aug 2026)

  Changed paths:
    M dependencies/tolua-5.2/patch/07-gen-code-nullptr.patch
    M dependencies/tolua-5.2/src/bin/lua/package.lua
    M dependencies/tolua-5.2/src/bin/toluabind.c

  Log Message:
  -----------
  tolua: Use NULL instead of nullptr in toluabind.c

Partially revert tolua change to use nullptr everywhere.
After that change the generated toluabind.c no longer has nullptrs.
That fixes build with older compilers without nullptr.

See RM #2133

Signed-off-by: Marko Lindqvist <[email protected]>



To unsubscribe from these emails, change your notification settings at https://github.com/freeciv/freeciv/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.