ref: 05cf7ced4f8ffc7dc0ab2fbc601d5d33e6e5ca42
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; }