]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/cpp_api/s_inventory.h
Move `setlocale` from Lua to C++.
[dragonfireclient.git] / src / script / cpp_api / s_inventory.h
index bf3b5de85c62376b08e192c14d12d8cc23499bdd..93ec7fd4253d818829b89346e86f722050be320e 100644 (file)
@@ -17,12 +17,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef S_INVENTORY_H_
-#define S_INVENTORY_H_
+#pragma once
 
 #include "cpp_api/s_base.h"
 
-class ItemStack;
+struct ItemStack;
 
 class ScriptApiDetached
                : virtual public ScriptApiBase
@@ -65,7 +64,3 @@ class ScriptApiDetached
        bool getDetachedInventoryCallback(
                        const std::string &name, const char *callbackname);
 };
-
-
-
-#endif /* S_INVENTORY_H_ */