rep_dl_init signature



browsing through librep sources, i see in librep-0.17/src/unix_dl.c:

rep_intern_dl_library (repv file_name)
....
	    repv (*init_func)(repv);

	    init_func = x_dlsym(handle, "rep_dl_init");
	    if(init_func != 0)
	    {
		repv ret;

		ret = init_func(file_name);




but all extensions have the rep_dl_init function  defined w/ this signature:

rep_dl_init (void)

is this correct?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]