tondrej / chakracore-delphi

Delphi and Free Pascal bindings and classes for Microsoft's ChakraCore library

Home Page:https://tondrej.blogspot.com/search/label/chakracore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests/Samples fail to compile - JsDeleteProperty not marked with overload

darianmiller opened this issue · comments

Adding the function overloads to the interface portion seems to correct it:

function JsDeleteProperty(Value, Prop: JsValueRef; UseStrictRules: Boolean): Boolean; overload;
function JsDeleteProperty(Value: JsValueRef; PropId: JsPropertyIdRef; UseStrictRules: Boolean): Boolean; overload;
function JsDeleteProperty(Value: JsValueRef; const PropName: UTF8String; UseStrictRules: Boolean): Boolean; overload;
function JsDeleteProperty(Value: JsValueRef; const PropName: UnicodeString; UseStrictRules: Boolean): Boolean; overload;

Thanks.