File difference report generated by CSDiff by ComponentSoftware on 26/12/2010 09:39

Base file: D:\dev2\BugList\200909\psd\libpsd-0.9\libpsd.h
Compared file: D:\dev2\BugList\200909\psd\libpsd\libpsd.h

423c423,424
< typedef struct _psd_slices_resource
{
---
> typedef struct _psd_slices_resource
> {
1209a1211,1240
> #define static
> 
> // file object.
> typedef void psd_file_obj;
> 
> // file operations.
> typedef struct {
> 	int   (*size_) (psd_file_obj *obj);
> 	int   (*seek_) (psd_file_obj *obj, int offset, int origin);
> 	int   (*read_) (psd_file_obj *obj, void *buf, int size, int cnt);
> //	int   (*write_)(psd_file_obj *obj, void *buf, int size, int cnt);
> //	int   (*close_)(psd_file_obj *obj);
> //	char* (*gets_) (psd_file_obj *obj, char *string, int n);
> //	int   (*eof_)  (psd_file_obj *obj);
> //	int   (*tell_) (psd_file_obj *obj);
> //	int   (*getc_) (psd_file_obj *obj);
> //	int   (*scanf_)(psd_file_obj *obj,const char *format, void* output);
> } psd_file_ops;
> 
> #define psd_fsize  (*context->ops_->size_)
> #define psd_fseek  (*context->ops_->seek_)
> #define psd_fread  (*context->ops_->read_)
> //#define psd_fwrite (*context->ops_->write_)
> //#define psd_fclose (*context->ops_->close_)
> //#define psd_fgets  (*context->ops_->gets_)
> //#define psd_feof   (*context->ops_->eof_)
> //#define psd_ftell  (*context->ops_->tell_)
> //#define psd_fgetc  (*context->ops_->getc_)
> //#define psd_fscanf (*context->ops_->scanf_)
> 
1213c1244,1245
< 	void *						file;
---
> 	psd_file_obj *				file;
> 	psd_file_ops *				ops_;
1329a1362,1363
> 
> static psd_status psd_main_loop(psd_context * context);


<---------------------  End of report  --------------------->

