package com.nativelibs4java.mono.bridj;
import com.nativelibs4java.mono.bridj.MonoLibrary.MonoMethod;
import org.bridj.Pointer;
import org.bridj.StructObject;
import org.bridj.ann.Field;
import org.bridj.ann.Library;
/**
 * <i>native declaration : /Library/Frameworks/Mono.framework/Headers/mono-2.0/mono/metadata/reflection.h</i><br>
 * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
 * a tool written by <a href="http://ochafik.free.fr/">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> or <a href="http://bridj.googlecode.com/">BridJ</a> .
 */
@Library("mono") 
public class MonoCustomAttrEntry extends StructObject {
	public MonoCustomAttrEntry() {
		super();
	}
	public MonoCustomAttrEntry(Pointer pointer) {
		super(pointer);
	}
	/// C type : MonoMethod*
	@Field(0) 
	public Pointer<MonoMethod > ctor() {
		return this.io.getPointerField(this, 0);
	}
	/// C type : MonoMethod*
	@Field(0) 
	public MonoCustomAttrEntry ctor(Pointer<MonoMethod > ctor) {
		this.io.setPointerField(this, 0, ctor);
		return this;
	}
	@Field(1) 
	public int data_size() {
		return this.io.getIntField(this, 1);
	}
	@Field(1) 
	public MonoCustomAttrEntry data_size(int data_size) {
		this.io.setIntField(this, 1, data_size);
		return this;
	}
	/// C type : const mono_byte*
	@Field(2) 
	public Pointer<Byte > data() {
		return this.io.getPointerField(this, 2);
	}
	/// C type : const mono_byte*
	@Field(2) 
	public MonoCustomAttrEntry data(Pointer<Byte > data) {
		this.io.setPointerField(this, 2, data);
		return this;
	}
}
