summaryrefslogtreecommitdiff
path: root/im/include/im_capture.h
diff options
context:
space:
mode:
Diffstat (limited to 'im/include/im_capture.h')
-rwxr-xr-xim/include/im_capture.h6
1 files changed, 6 insertions, 0 deletions
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