change blob API

This commit is contained in:
Yuichi Nishiwaki
2014-07-22 13:55:21 +09:00
parent 3f6ec5f878
commit 18b07fc853
4 changed files with 29 additions and 21 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ struct pic_blob {
#define pic_blob_p(v) (pic_type(v) == PIC_TT_BLOB)
#define pic_blob_ptr(v) ((struct pic_blob *)pic_ptr(v))
struct pic_blob *pic_blob_new(pic_state *, char *, size_t len);
struct pic_blob *pic_blob_new(pic_state *, size_t);
#if defined(__cplusplus)
}