ref: 4e09200f7e4bf8791c9c720922734e0759206b72
dir: /libxml/xmlnew.c/
#include <u.h> #include <libc.h> #include "xml.h" Xml * xmlnew(int blksize) { Xml *xp; xp = mallocz(sizeof(Xml), 1); xp->alloc.blksiz = blksize; if(xp == nil) return nil; return xp; }