Remove interface code

This commit is contained in:
James McKaskill 2013-09-12 16:44:20 -04:00
parent f4f0ccabf8
commit e6c57a665e
3 changed files with 3 additions and 40 deletions

6
capn.h
View file

@ -100,7 +100,6 @@ enum CAPN_TYPE {
CAPN_LIST = 2,
CAPN_PTR_LIST = 3,
CAPN_BIT_LIST = 4,
CAPN_INTERFACE = 5,
CAPN_LIST_MEMBER = 6,
CAPN_COMPOSITE_LIST = 7
};
@ -154,7 +153,6 @@ int capn_setp(capn_ptr p, int off, capn_ptr tgt);
capn_text capn_get_text(capn_ptr p, int off, capn_text def);
capn_data capn_get_data(capn_ptr p, int off);
int capn_set_text(capn_ptr p, int off, capn_text tgt);
CAPN_INLINE int capn_set_data(capn_ptr p, int off, capn_data tgt);
/* capn_get_* functions get data from a list
* The length of the list is given by p->size
@ -386,10 +384,6 @@ CAPN_INLINE uint64_t capn_from_f64(double v) {
return u.u;
}
CAPN_INLINE int capn_set_data(capn_ptr p, int off, capn_data d) {
return capn_setp(p, off, d.p);
}
#ifdef __cplusplus
}
#endif