public GCAnnotationAttribute(GCOption options) { _options = options; }
/// <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 );
public static int GC(LuaStatePtr l, GCOption what, int data) { return(LuaDelegates.lua_gc(l, (int)what, data)); }