Chinaunix首页 | 论坛 | 博客
  • 博客访问: 393238
  • 博文数量: 80
  • 博客积分: 885
  • 博客等级: 准尉
  • 技术积分: 917
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-02 11:43
个人简介

人生就是一次旅行,生活就是艺术,人人都是手艺人.

文章分类

全部博文(80)

文章存档

2023年(1)

2022年(5)

2019年(3)

2018年(1)

2017年(6)

2016年(4)

2014年(8)

2013年(20)

2012年(9)

2010年(3)

2009年(17)

2008年(3)

我的朋友

分类: Web开发

2013-05-20 15:07:08

1.修改gd安装目录下的include/gd_io.h
修改为文件中的结构体为

 typedef struct gdIOCtx

{

  int (*getC) (struct gdIOCtx *);

  int (*getBuf) (struct gdIOCtx *, void *, int);

 

  void (*putC) (struct gdIOCtx *, int);

  int (*putBuf) (struct gdIOCtx *, const void *, int);

 

 

  int (*seek) (struct gdIOCtx *, const int);

 

  long (*tell) (struct gdIOCtx *);

 

  void (*gd_free) (struct gdIOCtx *);

  void (*data);

}

gdIOCtx;


其中红色的部分为添加的修改,其他部分无修改
阅读(988) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~