From dfde7e17c5018ec5ff73ad8c4165441b315c16aa Mon Sep 17 00:00:00 2001 From: scuri Date: Sun, 25 Apr 2010 21:51:28 +0000 Subject: New: function imVideoCaptureReleaseDevices. --- include/im_capture.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/im_capture.h b/include/im_capture.h index bc5f732..ae8e2c2 100644 --- a/include/im_capture.h +++ b/include/im_capture.h @@ -68,6 +68,12 @@ const char* IM_DECL imVideoCaptureDeviceVendorInfo(int device); * \ingroup capture */ int IM_DECL imVideoCaptureReloadDevices(void); +/** Release the device list. Usefull is you need to track leak erros in your application. + * + * \verbatim im.imVideoCaptureReleaseDevices() [in Lua 5] \endverbatim + * \ingroup capture */ +void IM_DECL imVideoCaptureReleaseDevices(void); + /** Creates a new imVideoCapture object. \n * Returns NULL if there is no capture device available. \n * In Windows returns NULL if DirectX version is older than 8. \n -- cgit v1.2.3