diff vidix/vidixlib.h @ 22865:441582f3ed87

simplified function prototypes to avoid casts but keep external API compatibility
author ben
date Sun, 01 Apr 2007 12:39:06 +0000
parents b9f09be55449
children d74001dbe2a6
line wrap: on
line diff
--- a/vidix/vidixlib.h	Sun Apr 01 12:31:15 2007 +0000
+++ b/vidix/vidixlib.h	Sun Apr 01 12:39:06 2007 +0000
@@ -55,7 +55,7 @@
   /* might be filled in by much more info later on */
 } VDXContext;
 
-typedef void * VDL_HANDLE;
+typedef VDXContext * VDL_HANDLE;
 
 			/* returns library version */
 unsigned   vdlGetVersion( void );
@@ -70,7 +70,7 @@
 			   */
 VDL_HANDLE vdlOpen(const char *path,const char *name,unsigned cap,int verbose);
 			/* Closes stream and corresponded driver. */
-void	  vdlClose(VDL_HANDLE stream);
+void	  vdlClose(VDL_HANDLE ctx);
 
 			/* Queries driver capabilities. Return 0 if ok else errno */
 int	  vdlGetCapability(VDL_HANDLE, vidix_capability_t *);