From 92efe73791d0998536042bfab5a1babc67d168c7 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 9 Sep 2010 01:06:43 +0200 Subject: Upgrading to IM 3.6.2, and doing some cleanup at the same time. --- im/include/im_capture.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'im/include/im_capture.h') diff --git a/im/include/im_capture.h b/im/include/im_capture.h index bc5f732..ae8e2c2 100755 --- a/im/include/im_capture.h +++ b/im/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