
c
iteye_15479
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
lost on Py_DECREF/INCREF when handling PyList_Append in Python C extension
The main hint is in the docs, if it says 'Steals a reference' than the function basically takes ownership, if it says 'New Reference' than it did an INCREF for you, if nothing is said it probably does...原创 2015-11-03 21:41:16 · 310 阅读 · 0 评论 -
C中的宏 [Macro in C]
最近在学习c,话说从java转向c真的蛮痛苦。Anyway,学习就是一份好经历。看到如下一段code:[code="c"]#define APP_TOOL_OP_TYPES(f) \ f(SIMPLE, "simple", FALSE) \ f(JSON, "json", TRUE) ...原创 2014-01-26 10:04:47 · 193 阅读 · 0 评论 -
typedef struct in c
typedef struct atom { int element; struct atom *next;};vs.typedef struct { int element; struct atom *next;} atom;http://stackoverflow.com/questions/18806392/typedef-struct-...原创 2014-04-29 16:18:06 · 214 阅读 · 0 评论 -
pthreads tutorial
https://computing.llnl.gov/tutorials/pthreads/原创 2013-03-16 22:42:05 · 157 阅读 · 0 评论