mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-17 21:30:02 +01:00
use void (*)() instead of void* for Livido
git-svn-id: svn://code.dyne.org/veejay/trunk@494 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -425,18 +425,18 @@ int main(int argc, char **argv)
|
||||
if (!livido_setup) { printf("FATAL: function livido_setup not found in %s\n", name); return 1; };
|
||||
|
||||
livido_setup_t setup[] = {
|
||||
{(void*)malloc },
|
||||
{(void*)free},
|
||||
{(void*)memset},
|
||||
{(void*)memcpy},
|
||||
{(void*)vevo_port_new},
|
||||
{(void*)vevo_port_free},
|
||||
{(void*)vevo_property_set},
|
||||
{(void*)vevo_property_get},
|
||||
{(void*)vevo_property_num_elements},
|
||||
{(void*)vevo_property_atom_type},
|
||||
{(void*)vevo_property_element_size},
|
||||
{(void*)vevo_list_properties}
|
||||
{(void(*)())malloc },
|
||||
{(void(*)())free},
|
||||
{(void(*)())memset},
|
||||
{(void(*)())memcpy},
|
||||
{(void(*)())vevo_port_new},
|
||||
{(void(*)())vevo_port_free},
|
||||
{(void(*)())vevo_property_set},
|
||||
{(void(*)())vevo_property_get},
|
||||
{(void(*)())vevo_property_num_elements},
|
||||
{(void(*)())vevo_property_atom_type},
|
||||
{(void(*)())vevo_property_element_size},
|
||||
{(void(*)())vevo_list_properties}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -178,7 +178,8 @@ typedef char **(*livido_list_properties_f) (livido_port_t *);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
void *f;
|
||||
void (*f)();
|
||||
// void *f;
|
||||
} livido_setup_t;
|
||||
typedef livido_port_t *(*livido_setup_f) (const livido_setup_t list[], int );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user