コード例 #1
0
 public GCAnnotationAttribute(GCOption options)
 {
     _options = options;
 }
コード例 #2
0
		/// <summary>
		/// Controls the garbage collector. 
		/// This function performs several tasks, according to the value of the parameter what:
		/// </summary>
		/// <param name="state">
		/// A Lua State. <see cref="IntPtr"/>
		/// </param>
		/// <param name="what">
		/// Collector option. <see cref="GCOption"/>
		/// </param>
		/// <param name="data">
		/// Value to change. A <see cref="System.Int32"/>
		/// </param>
		/// <returns>
		/// A <see cref="System.Int32"/>
		/// </returns>
		public static extern int lua_gc( IntPtr state, GCOption what, int data );
コード例 #3
0
 public static int GC(LuaStatePtr l, GCOption what, int data)
 {
     return(LuaDelegates.lua_gc(l, (int)what, data));
 }