aboutsummaryrefslogtreecommitdiffhomepage
path: root/callbacks.c
diff options
context:
space:
mode:
authorlsalzman <[email protected]>2013-05-07 10:11:22 +0300
committerlsalzman <[email protected]>2013-05-07 10:11:22 +0300
commit27d41dd2ae1d9b43cbf3c282241ef22ddf87242d (patch)
tree3e3d11f44014a86365c5d8f0ee7b545321eef8a8 /callbacks.c
parentff4e2cab3071dd17d06b2849146b667766f6652e (diff)
downloadenet-27d41dd2ae1d9b43cbf3c282241ef22ddf87242d.tar.gz
enet-27d41dd2ae1d9b43cbf3c282241ef22ddf87242d.zip
add enet_linked_version() for querying linked version
Diffstat (limited to 'callbacks.c')
-rw-r--r--callbacks.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/callbacks.c b/callbacks.c
index f941282..b3990af 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -27,6 +27,12 @@ enet_initialize_with_callbacks (ENetVersion version, const ENetCallbacks * inits
return enet_initialize ();
}
+
+ENetVersion
+enet_linked_version (void)
+{
+ return ENET_VERSION;
+}
void *
enet_malloc (size_t size)