Fix class/struct forward declaration inconsistencies (good on ya, MSVC) 0.4.7-MSVC
authorKahrl <kahrl@gmx.net>
Thu, 6 Jun 2013 20:57:38 +0000 (22:57 +0200)
committerKahrl <kahrl@gmx.net>
Thu, 6 Jun 2013 20:57:38 +0000 (22:57 +0200)
src/script/common/c_content.h
src/script/cpp_api/s_entity.h
src/script/cpp_api/s_inventory.h
src/script/cpp_api/s_item.h
src/script/cpp_api/s_node.h
src/script/cpp_api/s_nodemeta.h

index 251a72e27b3b0f62fe9585c5dc08649180ee7ce8..58be7118cd39f467e532241a1f04e78f3830beda 100644 (file)
@@ -39,19 +39,19 @@ extern "C" {
 #include "irrlichttypes_bloated.h"
 #include "util/string.h"
 
-class MapNode;
+struct MapNode;
 class INodeDefManager;
-class PointedThing;
-class ItemStack;
-class ItemDefinition;
-class ToolCapabilities;
-class ObjectProperties;
-class SimpleSoundSpec;
-class ServerSoundParams;
+struct PointedThing;
+struct ItemStack;
+struct ItemDefinition;
+struct ToolCapabilities;
+struct ObjectProperties;
+struct SimpleSoundSpec;
+struct ServerSoundParams;
 class Inventory;
-class NodeBox;
-class ContentFeatures;
-class TileDef;
+struct NodeBox;
+struct ContentFeatures;
+struct TileDef;
 class Server;
 struct DigParams;
 struct HitParams;
index b95b6b4b4105c5a197ef9a183a077173cf56b50f..8df9d7f0014e8f422a5949dafc97806eb4f86536 100644 (file)
@@ -23,8 +23,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "cpp_api/s_base.h"
 #include "irr_v3d.h"
 
-class ObjectProperties;
-class ToolCapabilities;
+struct ObjectProperties;
+struct ToolCapabilities;
 
 class ScriptApiEntity
                : virtual public ScriptApiBase
index bf3b5de85c62376b08e192c14d12d8cc23499bdd..d1a81de8026efcacceaa685fdb1490cc2a3a63df 100644 (file)
@@ -22,7 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 #include "cpp_api/s_base.h"
 
-class ItemStack;
+struct ItemStack;
 
 class ScriptApiDetached
                : virtual public ScriptApiBase
index 28ac444f678b4445afcae3739f7dd20e75b60222..0f2b160429d1ec432d4914f3b22b696fa49e90f8 100644 (file)
@@ -23,10 +23,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "cpp_api/s_base.h"
 #include "irr_v3d.h"
 
-class PointedThing;
-class ItemStack;
+struct PointedThing;
+struct ItemStack;
 class ServerActiveObject;
-class ItemDefinition;
+struct ItemDefinition;
 class LuaItemStack;
 class ModApiItemMod;
 
index bff6072b9df9c813d3443265cfdf700031c9ce10..a8c9b3a79ae607fb29dc96cf7b8eee5fbbbf179d 100644 (file)
@@ -26,7 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "cpp_api/s_base.h"
 #include "cpp_api/s_nodemeta.h"
 
-class MapNode;
+struct MapNode;
 class ServerActiveObject;
 
 class ScriptApiNode
index 9be126c62c3d591682df85fca16754e4ae977126..c2ebeba6d5d2c76ca7cf395bd714df663187ea77 100644 (file)
@@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "cpp_api/s_item.h"
 #include "irr_v3d.h"
 
-class ItemStack;
+struct ItemStack;
 
 class ScriptApiNodemeta
                : virtual public ScriptApiBase,