From 27d41dd2ae1d9b43cbf3c282241ef22ddf87242d Mon Sep 17 00:00:00 2001 From: lsalzman Date: Tue, 7 May 2013 10:11:22 +0300 Subject: add enet_linked_version() for querying linked version --- callbacks.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'callbacks.c') 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) -- cgit v1.2.3