diff options
author | lsalzman <[email protected]> | 2013-05-07 10:11:22 +0300 |
---|---|---|
committer | lsalzman <[email protected]> | 2013-05-07 10:11:22 +0300 |
commit | 27d41dd2ae1d9b43cbf3c282241ef22ddf87242d (patch) | |
tree | 3e3d11f44014a86365c5d8f0ee7b545321eef8a8 /callbacks.c | |
parent | ff4e2cab3071dd17d06b2849146b667766f6652e (diff) | |
download | enet-27d41dd2ae1d9b43cbf3c282241ef22ddf87242d.tar.gz enet-27d41dd2ae1d9b43cbf3c282241ef22ddf87242d.zip |
add enet_linked_version() for querying linked version
Diffstat (limited to 'callbacks.c')
-rw-r--r-- | callbacks.c | 6 |
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) |