Ah. That's better than void anyway.
Made the change. Still errors out.
Seems P * isn't matching RJSLogFile* ??
What other magic do I need to declare this properly?
Some template love?
static void JSLogFile_DestructorCallback(Isolate* env, Persistent<Value>*
value, RJSLogFile* pLogFile);
error C2664: 'void v8::Persistent<T>::MakeWeak<RJSLogFile>(v8::Isolate *,P
*,void (__cdecl *)(v8::Isolate *,v8::Persistent<T> *,P *))' : cannot
convert parameter 3 from 'void (__cdecl *)(v8::Isolate *,v8::Persistent<T>
*,RJSLogFile *)' to 'void (__cdecl *)(v8::Isolate *,v8::Persistent<T> *,P
*)'
with
[
T=v8::Object,
P=RJSLogFile
]
and
[
T=v8::Value
]
and
[
T=v8::Object,
P=RJSLogFile
]
None of the functions with this name in scope match the target type
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.