MiniblinkNet/JSObject.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace Kyozy.MiniblinkNet
{
public class JsObject
{
internal Int64 _jsGetProperty(IntPtr es, Int64 obj, string propertyName)
{
return jsGetProperty(es, obj, propertyName);
}
internal byte _jsSetProperty(IntPtr es, Int64 obj, string propertyName, Int64 value)
{
return jsSetProperty(es, obj, propertyName, value) ? (byte)1 : (byte)0;
}
internal void _jsFinalize(IntPtr data)
{
jsFinalize();
Marshal.FreeHGlobal(data);
}
public virtual JsValue jsGetProperty(IntPtr jsExecState, JsValue obj, string propertyName)
{
return MBApi.jsUndefined();
}
public virtual bool jsSetProperty(IntPtr jsExecState, JsValue obj, string propertyName, JsValue value)
{
return false;
}
public virtual void jsFinalize()
{
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。