HGamer3D-Enet-Binding 0.3.2 → 0.4.0
raw patch · 3 files changed
+16/−12 lines, 3 filesdep ~HGamer3D-Data
Dependency ranges changed: HGamer3D-Data
Files
- HGamer3D-Enet-Binding.cabal +6/−6
- include/EnetDllDefines.h +6/−6
- include/hg3dstruct.h +4/−0
HGamer3D-Enet-Binding.cabal view
@@ -1,5 +1,5 @@ Name: HGamer3D-Enet-Binding -Version: 0.3.2 +Version: 0.4.0 Synopsis: Enet Binding for HGamer3D Description: HGamer3D is a game engine for developing 3D games in the programming @@ -19,12 +19,12 @@ Cabal-Version: >=1.4 Homepage: http://www.hgamer3d.org Category: Game Engine, Network -Extra-source-files: Setup.hs, include/ClassEnetPacket.h, include/StructHG3DClass.h, include/ClassEnetClient.h, include/hg3denet.hpp, include/ClassEnetServer.h, include/ClassEnet.h, include/EnetDllDefines.h, include/ClassPtr.h +Extra-source-files: Setup.hs, include/ClassEnetClient.h, include/StructHG3DClass.h, include/hg3dstruct.h, include/EnetDllDefines.h, include/ClassPtr.h, include/ClassEnetServer.h, include/ClassEnet.h, include/ClassEnetPacket.h, include/hg3denet.hpp Library - Build-Depends: base >= 3 && < 5, HGamer3D-Data >= 0.3.0 + Build-Depends: base >= 3 && < 5, HGamer3D-Data >= 0.4.0 - Exposed-modules: HGamer3D.Bindings.Enet.Utils, HGamer3D.Bindings.Enet.StructHG3DClass, HGamer3D.Bindings.Enet.ClassPtr, HGamer3D.Bindings.Enet.ClassEnetServer, HGamer3D.Bindings.Enet.ClassEnetClient, HGamer3D.Bindings.Enet.ClassEnetPacket, HGamer3D.Bindings.Enet.ClassEnet + Exposed-modules: HGamer3D.Bindings.Enet.Utils, HGamer3D.Bindings.Enet.StructHG3DClass, HGamer3D.Bindings.Enet.ClassPtr, HGamer3D.Bindings.Enet.ClassEnetServer, HGamer3D.Bindings.Enet.ClassEnet, HGamer3D.Bindings.Enet.ClassEnetPacket, HGamer3D.Bindings.Enet.ClassEnetClient Other-modules: ghc-options: @@ -34,6 +34,6 @@ Build-tools: build-depends: if os(windows) - extra-libraries: hg3denet032 + extra-libraries: hg3denet040 else - extra-libraries: hg3denet032,enet + extra-libraries: hg3denet040,enet
include/EnetDllDefines.h view
@@ -16,10 +16,10 @@ // EnetDllDefines.h -#ifndef _HGamer3DEnet032_DLLDEFINES_H_ -#define _HGamer3DEnet032_DLLDEFINES_H_ +#ifndef _HGamer3DEnet040_DLLDEFINES_H_ +#define _HGamer3DEnet040_DLLDEFINES_H_ -/* Cmake will define HGamer3DEnet032_EXPORTS on Windows when it +/* Cmake will define HGamer3DEnet040_EXPORTS on Windows when it configures to build a shared library. If you are going to use another build system on windows or create the visual studio projects by hand you need to define MyLibrary_EXPORTS when @@ -29,13 +29,13 @@ // We are using the Visual Studio Compiler and building Shared libraries #if (defined (_WIN32)) && !(defined (__GNUC__)) - #if defined(HGamer3DEnet032_EXPORTS) + #if defined(HGamer3DEnet040_EXPORTS) #define Enet_LIB_EXPORT __declspec(dllexport) #else #define Enet_LIB_EXPORT __declspec(dllimport) - #endif /* HGamer3DEnet032_EXPORTS */ + #endif /* HGamer3DEnet040_EXPORTS */ #else /* defined (_WIN32) */ #define Enet_LIB_EXPORT #endif -#endif /* _HGamer3DEnet032_DLLDEFINES_H_ */ +#endif /* _HGamer3DEnet040_DLLDEFINES_H_ */
+ include/hg3dstruct.h view
@@ -0,0 +1,4 @@+typedef struct hg3dclass_struct {+ void *ptr;+ void *fptr;+} hg3dclass_struct;