shithub: xml-9atom

ref: ce4a8027322c53b2832f221e2956c90dcd65fd1a
dir: /libxml/xmlnew.c/

View raw version
#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;
}