#ifndef OPENB3D_STBIMAGELOADER_STBIMAGELOADER_BMX_RELEASE_WIN32_X64_H
#define OPENB3D_STBIMAGELOADER_STBIMAGELOADER_BMX_RELEASE_WIN32_X64_H

#include <brl.mod/blitz.mod/.bmx/blitz.bmx.release.win32.x64.h>
#include <brl.mod/pixmap.mod/.bmx/pixmap.bmx.release.win32.x64.h>
#include <brl.mod/ramstream.mod/.bmx/ramstream.bmx.release.win32.x64.h>
int __bb_openb3d_stbimageloader_stbimageloader();
struct openb3d_stbimageloader_TPixmapLoaderB3D_obj;
void _openb3d_stbimageloader_TPixmapLoaderB3D_New(struct openb3d_stbimageloader_TPixmapLoaderB3D_obj* o);
typedef struct brl_pixmap_TPixmap_obj* (*openb3d_stbimageloader_TPixmapLoaderB3D_LoadPixmap_TTStream_m)(struct openb3d_stbimageloader_TPixmapLoaderB3D_obj*,struct brl_stream_TStream_obj*);
struct brl_pixmap_TPixmap_obj* _openb3d_stbimageloader_TPixmapLoaderB3D_LoadPixmap_TTStream(struct openb3d_stbimageloader_TPixmapLoaderB3D_obj*,struct brl_stream_TStream_obj*);
struct BBClass_openb3d_stbimageloader_TPixmapLoaderB3D {
	struct BBClass_brl_pixmap_TPixmapLoader*  super;
	void      (*free)( BBObject *o );
	BBDebugScope* debug_scope;
	unsigned int instance_size;
	void      (*ctor)( BBOBJECT o );
	void      (*dtor)( BBOBJECT o );
	BBSTRING  (*ToString)( BBOBJECT x );
	int       (*Compare)( BBOBJECT x,BBOBJECT y );
	BBOBJECT  (*SendMessage)( BBOBJECT o,BBOBJECT m,BBOBJECT s );
	BBINTERFACETABLE itable;
	void*     extra;
	unsigned int obj_size;
	unsigned int instance_count;
	unsigned int fields_offset;
	openb3d_stbimageloader_TPixmapLoaderB3D_LoadPixmap_TTStream_m m_LoadPixmap_TTStream;
};

struct openb3d_stbimageloader_TPixmapLoaderB3D_obj {
	struct BBClass_openb3d_stbimageloader_TPixmapLoaderB3D* clas;
	struct brl_pixmap_TPixmapLoader_obj* _brl_pixmap_tpixmaploader__succ;
};
extern struct BBClass_openb3d_stbimageloader_TPixmapLoaderB3D openb3d_stbimageloader_TPixmapLoaderB3D;
extern BBBYTE* stbi_load_from_memory(BBBYTE* bbt_buffer,BBSIZET bbt_bufLen,BBINT* bbt_width,BBINT* bbt_height,BBINT* bbt_chan,BBINT bbt_req_chan);
extern BBINT stbi_info_from_memory(BBBYTE* bbt_buffer,BBSIZET bbt_bufLen,BBINT* bbt_width,BBINT* bbt_height,BBINT* bbt_chan);
extern void stbi_image_free(BBBYTE* bbt_stbi_handle);

#endif
