-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eea6681
commit ef57e00
Showing
61 changed files
with
7,615 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
obj | ||
haxe | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<CodeBlocks_project_file> | ||
<FileVersion major="1" minor="6" /> | ||
<Project> | ||
<Option title="EnetTesting" /> | ||
<Option pch_mode="2" /> | ||
<Option compiler="gcc" /> | ||
<Build> | ||
<Target title="Debug"> | ||
<Option output="bin/Debug/EnetTesting" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="1" extension_auto="1" /> | ||
<Option object_output="obj/Debug/" /> | ||
<Option type="3" /> | ||
<Option compiler="gcc" /> | ||
<Compiler> | ||
<Add option="-g" /> | ||
<Add option="-m32" /> | ||
<Add directory="includes" /> | ||
</Compiler> | ||
<ResourceCompiler> | ||
<Add directory="../archive" /> | ||
</ResourceCompiler> | ||
<Linker> | ||
<Add option="-arch x86_64" /> | ||
<Add library="libraries/libenet.dylib" /> | ||
<Add directory="../archive" /> | ||
</Linker> | ||
</Target> | ||
<Target title="Release"> | ||
<Option output="bin/Release/EnetTesting" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).def" prefix_auto="1" extension_auto="1" /> | ||
<Option object_output="obj/Release/" /> | ||
<Option type="3" /> | ||
<Option compiler="gcc" /> | ||
<Compiler> | ||
<Add option="-O2" /> | ||
</Compiler> | ||
</Target> | ||
</Build> | ||
<Compiler> | ||
<Add option="-Wall" /> | ||
<Add option="-fexceptions" /> | ||
</Compiler> | ||
<Unit filename="main.cpp" /> | ||
<Extensions> | ||
<code_completion /> | ||
<envvars /> | ||
<debugger /> | ||
</Extensions> | ||
</Project> | ||
</CodeBlocks_project_file> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
# depslib dependency file v1.0 | ||
1396126460 source:c:\users\ohmnivore\desktop\cppdev\enettesting\main.cpp | ||
<stdio.h> | ||
<stdlib.h> | ||
<conio.h> | ||
<enet/enet.h> | ||
<stdlib.h> | ||
<string> | ||
<sstream> | ||
<hx/CFFI.h> | ||
|
||
1388069580 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\enet\enet.h | ||
<stdlib.h> | ||
"enet/win32.h" | ||
"enet/unix.h" | ||
"enet/types.h" | ||
"enet/protocol.h" | ||
"enet/list.h" | ||
"enet/callbacks.h" | ||
|
||
1388069580 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\enet\win32.h | ||
<stdlib.h> | ||
<winsock2.h> | ||
|
||
1388069580 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\enet\unix.h | ||
<stdlib.h> | ||
<sys/time.h> | ||
<sys/types.h> | ||
<sys/socket.h> | ||
<netinet/in.h> | ||
<unistd.h> | ||
|
||
1388069580 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\enet\types.h | ||
|
||
1388069580 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\enet\protocol.h | ||
"enet/types.h" | ||
|
||
1388069580 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\enet\list.h | ||
<stdlib.h> | ||
|
||
1388069580 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\enet\callbacks.h | ||
<stdlib.h> | ||
|
||
1388700673 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\hx\cffi.h | ||
"OS.h" | ||
<stdio.h> | ||
<stdlib.h> | ||
"CFFILoader.h" | ||
"CFFIAPI.h" | ||
|
||
1388700673 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\hx\os.h | ||
<stddef.h> | ||
<stdint.h> | ||
<errno.h> | ||
|
||
1388700673 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\hx\cffiloader.h | ||
<android/log.h> | ||
<windows.h> | ||
<stdio.h> | ||
<mach-o/dyld.h> | ||
<dlfcn.h> | ||
<stdio.h> | ||
<stdlib.h> | ||
<memory.h> | ||
<hx/NekoFunc.h> | ||
|
||
1388700673 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\hx\nekofunc.h | ||
|
||
1388700673 c:\users\ohmnivore\desktop\cppdev\enettesting\includes\hx\cffiapi.h | ||
|
||
1397330923 source:c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\main.cpp | ||
<stdio.h> | ||
<stdlib.h> | ||
<conio.h> | ||
<enet/enet.h> | ||
<stdlib.h> | ||
<string> | ||
<sstream> | ||
<map> | ||
<hx/CFFI.h> | ||
|
||
1388069580 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\enet\enet.h | ||
<stdlib.h> | ||
"enet/win32.h" | ||
"enet/unix.h" | ||
"enet/types.h" | ||
"enet/protocol.h" | ||
"enet/list.h" | ||
"enet/callbacks.h" | ||
|
||
1388069580 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\enet\win32.h | ||
<stdlib.h> | ||
<winsock2.h> | ||
|
||
1388069580 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\enet\unix.h | ||
<stdlib.h> | ||
<sys/time.h> | ||
<sys/types.h> | ||
<sys/socket.h> | ||
<netinet/in.h> | ||
<unistd.h> | ||
|
||
1388069580 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\enet\types.h | ||
|
||
1388069580 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\enet\protocol.h | ||
"enet/types.h" | ||
|
||
1388069580 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\enet\list.h | ||
<stdlib.h> | ||
|
||
1388069580 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\enet\callbacks.h | ||
<stdlib.h> | ||
|
||
1388700673 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\hx\cffi.h | ||
"OS.h" | ||
<stdio.h> | ||
<stdlib.h> | ||
"CFFILoader.h" | ||
"CFFIAPI.h" | ||
|
||
1388700673 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\hx\os.h | ||
<stddef.h> | ||
<stdint.h> | ||
<errno.h> | ||
|
||
1388700673 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\hx\cffiloader.h | ||
<android/log.h> | ||
<windows.h> | ||
<stdio.h> | ||
<mach-o/dyld.h> | ||
<dlfcn.h> | ||
<stdio.h> | ||
<stdlib.h> | ||
<memory.h> | ||
<hx/NekoFunc.h> | ||
|
||
1388700673 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\hx\nekofunc.h | ||
|
||
1388700673 c:\users\ohmnivore\desktop\haxedev\enetwrap\c_source\includes\hx\cffiapi.h | ||
|
||
1404881504 source:/Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/main.cpp | ||
<stdio.h> | ||
<stdlib.h> | ||
<enet/enet.h> | ||
<stdlib.h> | ||
<string> | ||
<sstream> | ||
<map> | ||
<hx/CFFI.h> | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/enet/enet.h | ||
<stdlib.h> | ||
"enet/win32.h" | ||
"enet/unix.h" | ||
"enet/types.h" | ||
"enet/protocol.h" | ||
"enet/list.h" | ||
"enet/callbacks.h" | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/enet/win32.h | ||
<stdlib.h> | ||
<winsock2.h> | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/enet/unix.h | ||
<stdlib.h> | ||
<sys/time.h> | ||
<sys/types.h> | ||
<sys/socket.h> | ||
<netinet/in.h> | ||
<unistd.h> | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/enet/types.h | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/enet/protocol.h | ||
"enet/types.h" | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/enet/list.h | ||
<stdlib.h> | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/enet/callbacks.h | ||
<stdlib.h> | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/hx/CFFI.h | ||
"OS.h" | ||
<stdio.h> | ||
<stdlib.h> | ||
"CFFILoader.h" | ||
"CFFIAPI.h" | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/hx/OS.h | ||
<stddef.h> | ||
<stdint.h> | ||
<errno.h> | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/hx/CFFILoader.h | ||
<android/log.h> | ||
<windows.h> | ||
<stdio.h> | ||
<mach-o/dyld.h> | ||
<dlfcn.h> | ||
<stdio.h> | ||
<stdlib.h> | ||
<memory.h> | ||
<hx/NekoFunc.h> | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/hx/NekoFunc.h | ||
|
||
1404880632 /Users/chasedelanguillette/Documents/development/haxe/projects/HaxeNet/c_source_mac/includes/hx/CFFIAPI.h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<CodeBlocks_layout_file> | ||
<ActiveTarget name="Debug" /> | ||
<File name="main.cpp" open="1" top="1" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0"> | ||
<Cursor> | ||
<Cursor1 position="9496" topLine="0" /> | ||
</Cursor> | ||
</File> | ||
</CodeBlocks_layout_file> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
@file callbacks.h | ||
@brief ENet callbacks | ||
*/ | ||
#ifndef __ENET_CALLBACKS_H__ | ||
#define __ENET_CALLBACKS_H__ | ||
|
||
#include <stdlib.h> | ||
|
||
typedef struct _ENetCallbacks | ||
{ | ||
void * (ENET_CALLBACK * malloc) (size_t size); | ||
void (ENET_CALLBACK * free) (void * memory); | ||
void (ENET_CALLBACK * no_memory) (void); | ||
} ENetCallbacks; | ||
|
||
/** @defgroup callbacks ENet internal callbacks | ||
@{ | ||
@ingroup private | ||
*/ | ||
extern void * enet_malloc (size_t); | ||
extern void enet_free (void *); | ||
|
||
/** @} */ | ||
|
||
#endif /* __ENET_CALLBACKS_H__ */ | ||
|
Oops, something went wrong.