build system revision
[vg.git] / vg_steam_remote_storage.h
index 0076b92407da5a3c41ca9d432558cb02be4c5276..24aaf3b16b37220bfce3a81795ef4c71fcba5395 100644 (file)
@@ -1,7 +1,5 @@
-#ifndef VG_STEAM_REMOTE_STORAGE_H
-#define VG_STEAM_REMOTE_STORAGE_H
-
-#include "vg/vg_steam.h"
+#pragma once
+#include "vg_steam.h"
 
 const u32 k_unMaxCloudFileChunkSize = 100 * 1024 * 1024;
 
@@ -423,7 +421,8 @@ enum { k_iRemoteStorageFileReadAsyncComplete_t =
 #pragma pack( pop )
 
 ISteamRemoteStorage *SteamAPI_SteamRemoteStorage_v016();
-ISteamRemoteStorage *SteamAPI_SteamRemoteStorage(){ 
+static inline ISteamRemoteStorage *SteamAPI_SteamRemoteStorage()
+{ 
    return SteamAPI_SteamRemoteStorage_v016(); 
 }
 
@@ -581,5 +580,3 @@ steamapi_bool SteamAPI_ISteamRemoteStorage_BeginFileWriteBatch(
       ISteamRemoteStorage *self );
 steamapi_bool SteamAPI_ISteamRemoteStorage_EndFileWriteBatch( 
       ISteamRemoteStorage *self );
-
-#endif /* VG_STEAM_REMOTE_STORAGE_H */