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
gflGetFileInformationFromMemory: error in the documentation
Moderators: helmut, XnTriq, xnview
Re: gflGetFileInformationFromMemory: error in the documentat
Ok, i'll fix it...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
Pierre.