We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f364632 commit 58234c7Copy full SHA for 58234c7
GekkoLib/include/gekkonet.h
@@ -91,6 +91,8 @@ typedef struct GekkoNetAdapter {
91
GekkoNetResult** (*receive_data)(int* length);
92
// free data function so gekkonet can cleanup data that the user created.
93
void (*free_data)(void* data_ptr);
94
+ // context data. can be any data. just be sure to clean / manage it yourself.
95
+ void* ctx_data;
96
} GekkoNetAdapter;
97
98
typedef enum GekkoGameEventType {
0 commit comments