summaryrefslogtreecommitdiff
path: root/include/im_capture.h
diff options
context:
space:
mode:
authorscuri <scuri>2010-04-25 21:51:28 +0000
committerscuri <scuri>2010-04-25 21:51:28 +0000
commitdfde7e17c5018ec5ff73ad8c4165441b315c16aa (patch)
treefea2cd90998201c6312c6487bbc8844de719af14 /include/im_capture.h
parentdc3e637a5f44f579060985bc615b814c74eb4de4 (diff)
New: function imVideoCaptureReleaseDevices.
Diffstat (limited to 'include/im_capture.h')
-rw-r--r--include/im_capture.h6
1 files changed, 6 insertions, 0 deletions
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