shithub: xml-9atom

ref: 47a288683dbdc55c5df9b9f65db9909de6021af0
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;
}