void __c_vector(c_pvector thiz, COMPARER pcmp) { thiz->_cmp = pcmp; thiz->_l = __c_malloc(sizeof(_c_vector_impl)); ((_c_vector_impl *)thiz->_l)->_start = NULL; ((_c_vector_impl *)thiz->_l)->_finish = NULL; ((_c_vector_impl *)thiz->_l)->_end_of_storage = NULL; }
static pnode_t _A_allocate(c_pvector thiz, size_t n) { return (pnode_t)__c_malloc(n * sizeof(node_t)); }
void __c_queue(c_pqueue thiz, COMPARER pcmp) { thiz->_l = __c_malloc(sizeof(c_list)); __c_list((c_plist)thiz->_l, pcmp); }