add type alias for pic_blob

This commit is contained in:
Yuichi Nishiwaki 2014-02-22 15:22:02 +09:00
parent 56f5f4a1f5
commit 6c065e92c0
1 changed files with 2 additions and 1 deletions

View File

@ -116,15 +116,16 @@ struct pic_object {
struct pic_pair;
struct pic_string;
struct pic_vector;
struct pic_blob;
struct pic_proc;
struct pic_port;
struct pic_blob;
/* set aliases to basic types */
typedef struct pic_pair pic_pair;
typedef struct pic_string pic_str;
typedef struct pic_vector pic_vec;
typedef struct pic_blob pic_blob;
#define pic_float(v) ((v).u.f)
#define pic_int(v) ((v).u.i)