Page 1 of 1

gflGetFileInformationFromMemory: error in the documentation

Posted: Mon Aug 01, 2005 2:49 pm
by Ithier
There is an error in the documentation for the gflGetFileInformationFromMemory function. It is declared as (libgfl.h):

extern GFLEXTERN GFL_ERROR GFLAPI gflGetFileInformationFromMemory(
const GFL_UINT8 * data,
GFL_UINT32 data_length,
GFL_INT32 index,
GFL_FILE_INFORMATION *info );

but in the documentation, it contains an additional parameter:

GFL_ERROR gflGetFileInformationFromMemory(
GFL_UINT8 * data,
GFL_UINT32 data_length,
GFL_INT32 index,
const GFL_LOAD_CALLBACKS * callbacks,
GFL_FILE_INFORMATION * information
);


So be careful when you try to use this function.
Ithier

Re: gflGetFileInformationFromMemory: error in the documentat

Posted: Tue Aug 02, 2005 8:24 am
by xnview
Ithier wrote:There is an error in the documentation for the gflGetFileInformationFromMemory function. It is declared as (libgfl.h):

extern GFLEXTERN GFL_ERROR GFLAPI gflGetFileInformationFromMemory(
const GFL_UINT8 * data,
GFL_UINT32 data_length,
GFL_INT32 index,
GFL_FILE_INFORMATION *info );

but in the documentation, it contains an additional parameter:

GFL_ERROR gflGetFileInformationFromMemory(
GFL_UINT8 * data,
GFL_UINT32 data_length,
GFL_INT32 index,
const GFL_LOAD_CALLBACKS * callbacks,
GFL_FILE_INFORMATION * information
);


So be careful when you try to use this function.
Ithier
Ok, i'll fix it...