gflGetFileInformationFromMemory: error in the documentation
Posted: Mon Aug 01, 2005 2:49 pm
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
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