我无法找到详细说明函数的调用的API,并返回值...标头是不完全很干净要么...
I am having trouble finding an API that details functions calls and return values... The headers aren't exactly very clean either...
我发现吨的例子,但我感兴趣的错误处理(返回值)。我在接近这个错误,因为我撕裂了我的头发试图找到一些基本为这个众所周知的库函数列表。
I have found tons of examples, but I'm interested in error handling (return values). Am I approaching this wrong because I'm tearing my hair out trying to find something as basic as a function list for this well known library.
推荐答案有中的 libjpeg.txt 。
的libjpeg是一个非常低的水平,陡峭的学习曲线,老同学C库。要有效地使用它,你需要熟悉的setjmp和longjmp,C结构布局,函数指针,和许多其他低C级的东西。这是一个熊的工作,但可以做很多事情以最少的资源使用情况。
libjpeg is a very low-level, steep-learning-curve, old school c library. To use it effectively you need to be familiar with setjmp and longjmp, c structure layouts, function pointers, and lots of other low-level C stuff. It's a bear to work with but possible to do a great deal with minimal resource usage.
该文档是不是很大。我认为作者意图是使用这个库有人会能够通过源代码阅读和计算出的东西是如何工作的。
The documentation is not that great. I think the authors intended that anybody using this library would be able to read through the source and figure out how the stuff works.
更多推荐
libjpeg的API和参考
发布评论