diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2023-02-23 00:19:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 00:19:48 +0000 |
commit | 32165afe41c4cf4d3b261ee7a9c69c369253cc13 (patch) | |
tree | 156844485e0e463410d76cbb4c4c7a6cd0042786 /NorthstarDLL/shared/playlist.h | |
parent | 6aaac4cd452878acc59d9748bcd2d0e072d2a432 (diff) | |
download | NorthstarLauncher-32165afe41c4cf4d3b261ee7a9c69c369253cc13.tar.gz NorthstarLauncher-32165afe41c4cf4d3b261ee7a9c69c369253cc13.zip |
Add `FUNCTION_AT` and `VAR_AT` macros (#416)
* add FUNCTION_AT and VAR_AT macros
* fix build issues oops
* fix formatting
* add PREDEFINED_VAR_AT
* change func name
* fixup formatting
* update to use DEFINED_VAR_AT
Diffstat (limited to 'NorthstarDLL/shared/playlist.h')
-rw-r--r-- | NorthstarDLL/shared/playlist.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/NorthstarDLL/shared/playlist.h b/NorthstarDLL/shared/playlist.h index c77b37d9..e56fdf96 100644 --- a/NorthstarDLL/shared/playlist.h +++ b/NorthstarDLL/shared/playlist.h @@ -3,8 +3,8 @@ // use the R2 namespace for game funcs namespace R2 { - extern const char* (*GetCurrentPlaylistName)(); - extern void (*SetCurrentPlaylist)(const char* pPlaylistName); - extern void (*SetPlaylistVarOverride)(const char* pVarName, const char* pValue); - extern const char* (*GetCurrentPlaylistVar)(const char* pVarName, bool bUseOverrides); + inline const char* (*GetCurrentPlaylistName)(); + inline void (*SetCurrentPlaylist)(const char* pPlaylistName); + inline void (*SetPlaylistVarOverride)(const char* pVarName, const char* pValue); + inline const char* (*GetCurrentPlaylistVar)(const char* pVarName, bool bUseOverrides); } // namespace R2 |