lsteamclient: Fix SteamNetConnectionStatusChangedCallback_t conversion

It was declared inside an extern "C" block in the SDK, which for some
reason cindex doesn't include.
This commit is contained in:
Andrew Eikum 2019-05-30 11:22:11 -05:00
parent 6195cb8a0a
commit 5ed5cbf286
7 changed files with 31 additions and 1 deletions

View file

@ -874,6 +874,8 @@ def handle_struct(sdkver, struct):
cppfile.write("#include \"steam_defs.h\"\n")
cppfile.write("#include \"steamworks_sdk_%s/steam_api.h\"\n" % sdkver)
cppfile.write("#include \"steamworks_sdk_%s/isteamgameserver.h\"\n" % (sdkver))
if os.path.isfile("steamworks_sdk_%s/isteamnetworkingsockets.h" % sdkver):
cppfile.write("#include \"steamworks_sdk_%s/isteamnetworkingsockets.h\"\n" % (sdkver))
if os.path.isfile("steamworks_sdk_%s/isteamgameserverstats.h" % sdkver):
cppfile.write("#include \"steamworks_sdk_%s/isteamgameserverstats.h\"\n" % (sdkver))
if os.path.isfile("steamworks_sdk_%s/isteamgamecoordinator.h" % sdkver):