Initial commit.
This commit is contained in:
41
tools/ModView/jpeg_interface.h
Normal file
41
tools/ModView/jpeg_interface.h
Normal file
@@ -0,0 +1,41 @@
|
||||
// Filename:- jpeg_interface.h
|
||||
//
|
||||
|
||||
|
||||
#ifndef JPEG_INTERFACE_H
|
||||
#define JPEG_INTERFACE_H
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef LPCSTR
|
||||
typedef const char * LPCSTR;
|
||||
#endif
|
||||
|
||||
void LoadJPG( const char *filename, unsigned char **pic, int *width, int *height );
|
||||
|
||||
void JPG_ErrorThrow(LPCSTR message);
|
||||
void JPG_MessageOut(LPCSTR message);
|
||||
#define ERROR_STRING_NO_RETURN(message) JPG_ErrorThrow(message)
|
||||
#define MESSAGE_STRING(message) JPG_MessageOut(message)
|
||||
|
||||
|
||||
void *JPG_Malloc( int iSize );
|
||||
void JPG_Free( void *pvObject);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#endif // #ifndef JPEG_INTERFACE_H
|
||||
|
||||
|
||||
////////////////// eof //////////////////
|
||||
|
||||
Reference in New Issue
Block a user