From: Konstantin K. <klk...@ns...> - 2004-06-04 06:35:31
|
Hi Samofatov, Nickolay and All! >>ISC_STATUS API_ROUTINE gds__database_cleanup(ISC_STATUS * >>status_vector, >> FB_API_HANDLE* db_handle, >> DatabaseCleanupRoutine *routine, >> void* arg) >>So definition and prototype differs in last argument void* vs SLONG. >>Wich is right?! > > > void* ??, it will be void * >>So I advice to make all api functions extern "C" to throw >>compile error instead of digging such bugs ! >> >>Any comments or opinions? > > > This function is not a part of public API and it is not used anywhere. > So I think it may be safely killed. No, I got unresolved symbols linking fb_inet_server with libfbembed.so. I wont to put extern 'C' { all of this functions{} } into *.cpp files to got compiller error instead of unresolved symbols. Any opinions? Konstantin |