Ejemplo n.º 1
0
// xmlSetBufferAllocationScheme
func SetAllocationScheme(scheme AllocationScheme) {
	C.xmlSetBufferAllocationScheme(C.xmlBufferAllocationScheme(scheme))
}
Ejemplo n.º 2
0
// xmlBufferSetAllocationScheme
func (buffer *Buffer) SetAllocationScheme(scheme AllocationScheme) {
	C.xmlBufferSetAllocationScheme(buffer.Ptr, C.xmlBufferAllocationScheme(scheme))
}