package com.nativelibs4java.mono.bridj;
import com.nativelibs4java.mono.bridj.MonoLibrary.MonoThreadsSync;
import com.nativelibs4java.mono.bridj.MonoLibrary.MonoVTable;
import org.bridj.Pointer;
import org.bridj.StructObject;
import org.bridj.ann.Field;
import org.bridj.ann.Library;
/**
 * <i>native declaration : mono/metadata/object.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.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> or <a href="http://bridj.googlecode.com/">BridJ</a> .
 */
@Library("mono") 
public class MonoObject extends StructObject {
	public MonoObject() {
		super();
	}
	public MonoObject(Pointer pointer) {
		super(pointer);
	}
	/// C type : MonoVTable*
	@Field(0) 
	public Pointer<MonoVTable > vtable() {
		return this.io.getPointerField(this, 0);
	}
	/// C type : MonoVTable*
	@Field(0) 
	public MonoObject vtable(Pointer<MonoVTable > vtable) {
		this.io.setPointerField(this, 0, vtable);
		return this;
	}
	/// C type : MonoThreadsSync*
	@Field(1) 
	public Pointer<MonoThreadsSync > synchronisation() {
		return this.io.getPointerField(this, 1);
	}
	/// C type : MonoThreadsSync*
	@Field(1) 
	public MonoObject synchronisation(Pointer<MonoThreadsSync > synchronisation) {
		this.io.setPointerField(this, 1, synchronisation);
		return this;
	}
}
