package com.nativelibs4java.mono.bridj;
import org.bridj.Pointer;
import org.bridj.StructObject;
import org.bridj.ann.Field;
import org.bridj.ann.Library;
/**
 * Information about local variables retrieved from a symbol file.<br>
 * <i>native declaration : mono/metadata/debug-mono-symfile.h:95</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 MonoDebugLocalsInfo extends StructObject {
	public MonoDebugLocalsInfo() {
		super();
	}
	public MonoDebugLocalsInfo(Pointer pointer) {
		super(pointer);
	}
	@Field(0) 
	public int num_locals() {
		return this.io.getIntField(this, 0);
	}
	@Field(0) 
	public MonoDebugLocalsInfo num_locals(int num_locals) {
		this.io.setIntField(this, 0, num_locals);
		return this;
	}
	/// C type : MonoDebugLocalVar*
	@Field(1) 
	public Pointer<MonoDebugLocalVar > locals() {
		return this.io.getPointerField(this, 1);
	}
	/// C type : MonoDebugLocalVar*
	@Field(1) 
	public MonoDebugLocalsInfo locals(Pointer<MonoDebugLocalVar > locals) {
		this.io.setPointerField(this, 1, locals);
		return this;
	}
	@Field(2) 
	public int num_blocks() {
		return this.io.getIntField(this, 2);
	}
	@Field(2) 
	public MonoDebugLocalsInfo num_blocks(int num_blocks) {
		this.io.setIntField(this, 2, num_blocks);
		return this;
	}
	/// C type : MonoDebugCodeBlock*
	@Field(3) 
	public Pointer<MonoDebugCodeBlock > code_blocks() {
		return this.io.getPointerField(this, 3);
	}
	/// C type : MonoDebugCodeBlock*
	@Field(3) 
	public MonoDebugLocalsInfo code_blocks(Pointer<MonoDebugCodeBlock > code_blocks) {
		this.io.setPointerField(this, 3, code_blocks);
		return this;
	}
}
