package com.nativelibs4java.opencl.library;
import com.ochafik.lang.jnaerator.runtime.NativeSize;
import com.ochafik.lang.jnaerator.runtime.Structure;
/**
 * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
 * a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
 * For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> , <a href="http://rococoa.dev.java.net/">Rococoa</a>, or <a href="http://jna.dev.java.net/">JNA</a>.
 */
public class cl_buffer_region extends Structure<cl_buffer_region, cl_buffer_region.ByValue, cl_buffer_region.ByReference > {
	public NativeSize origin;
	public NativeSize size;
	public cl_buffer_region() {
		super();
	}
	public cl_buffer_region(NativeSize origin, NativeSize size) {
		super();
		this.origin = origin;
		this.size = size;
	}
	
	public java.util.List<String> getFieldOrder() {
		return java.util.Arrays.asList("origin", "size");
	}
	protected ByReference newByReference() { return new ByReference(); }
	protected ByValue newByValue() { return new ByValue(); }
	protected cl_buffer_region newInstance() { return new cl_buffer_region(); }
	public static cl_buffer_region[] newArray(int arrayLength) {
		return Structure.newArray(cl_buffer_region.class, arrayLength);
	}
	public static class ByReference extends cl_buffer_region implements Structure.ByReference {
		
	};
	public static class ByValue extends cl_buffer_region implements Structure.ByValue {
		
	};
}
