public _intOnGetIndex ( Context ctx, bool isprop ) : int | ||
ctx | Context | |
isprop | bool | |
return | int |
public virtual int _intOnGetIndex( Context ctx, bool isprop )
{
Variable v = OnGetIndex( ctx, ctx.StackItem( 0 ), isprop );
if( v != null )
{
ctx.Push( v );
return RC.SUCCESS;
}
return RC.ENOTFND;
}
public static int _sgsGetIndex(IntPtr ctx, IntPtr varobj) { IObjectBase obj = _IP2Obj(varobj); return(obj._intOnGetIndex(Engine.GetCtx(ctx), NI.ObjectArg(ctx) != 0)); }