in reply to Re: empty out C function bodies
in thread empty out C function bodies

Hi Peter!

Thanks for the answer!

Layout is not important. Your regex works in most cases. But it misses:

static void xmlLinkDeallocator(xmlListPtr l, xmlLinkPtr lk) { (lk->prev)->next = lk->next; (lk->next)->prev = lk->prev; if(l->linkDeallocator) l->linkDeallocator(lk); xmlFree(lk); }

and

static void xmlLinkDeallocator(xmlListPtr l, xmlLinkPtr lk) { (lk->prev)->next = lk->next; (lk->next)->prev = lk->prev; if(l->linkDeallocator) l->linkDeallocator(lk); xmlFree(lk); }

Would it be possible to produce the hack for these two cases?