version 1.11.2.10, 2011/09/01 08:13:10
|
version 1.11.2.11, 2011/09/01 15:11:16
|
Line 172 typedef struct {
|
Line 172 typedef struct {
|
#define AIT_SET_BLOB2(_vl, _bv) do { ait_val_t *__val = (_vl); assert(__val); assert((_bv)); \ |
#define AIT_SET_BLOB2(_vl, _bv) do { ait_val_t *__val = (_vl); assert(__val); assert((_bv)); \ |
__val->val_type = blob; AIT_LEN(__val) = (_bv)->blob_len; \ |
__val->val_type = blob; AIT_LEN(__val) = (_bv)->blob_len; \ |
__val->val.blob = (_bv)->blob_var; } while (0) |
__val->val.blob = (_bv)->blob_var; } while (0) |
|
#define AIT_NEW_BLOB(_vl, _len) AIT_SET_BLOB((_vl), 0, _len) |
|
|
#define AIT_SET_U8(_vl, _n) do { ait_val_t *__val = (_vl); assert(__val); \ |
#define AIT_SET_U8(_vl, _n) do { ait_val_t *__val = (_vl); assert(__val); \ |
__val->val_type = u8; __val->val.u8 = _n; \ |
__val->val_type = u8; __val->val.u8 = _n; \ |