Closed mzer0-yu closed 8 years ago
You can test all modify to make sure this program can run normally.
Sorry, I am busy recently. I create a new branch dev
, you can PR all modify into dev
. When dev
can work normally, I will merge it into master
.
不好意思,我必须保证master
分支能够正常工作。然后,最近没有时间把你新提交的代码整合进去。所以,你可以把新的修改都提交到dev
。如果你可以让dev
正常跑起来,那就太感谢啦。最后等我有空再把dev
并入 master
。你往dev
提交的修改我都会merge的。
如果你觉得其他部分写得不好的,都欢迎更改,只要保证对外的api不变就行。
By all means.
Anyway, I don't have an available test machine now, maybe @AntonioCS could have it tested.
Would you do this favor or not @AntonioCS. AMA in that conversation.
Replaced by this PR https://github.com/luohaha/CSpider/pull/27
Thanks! I will test branch dev
when i have free time.
@mzer0-yu Sure
Implemented something like std::string, e.g.
unsigned int strID_user_agent = alloc_string(void); cs_page* ptr_to_user_agent = get_page_ptr(strID_user_agent); \set_string(ptr_to_useragent, "user agent"); /* "user agent" / \set_string(ptr_to_useragent, " firefox"); / "user agent firefox" */ free_string(strID_user_agent);