So, with the feeling that i MUST be possible to use the real v8 from within libcef, I decided to go and learn some more - and finally, found a way to combine the use of nm and c++filt. So, after i created a list of all symbols from the debug libcef, and then ran c++filt over it...i was quite baffled. Look!
- Code: Select all
...
v8::ObjectTemplate::NewInstance()
v8::ObjectTemplate::SetAccessor(v8::Handle<v8::String>, v8::Handle<v8::DeclaredAccessorDescriptor>, v8::AccessControl, v8::PropertyAttribute, v8::Handle<v8::AccessorSignature>)
v8::ObjectTemplate::SetAccessor(v8::Handle<v8::String>, v8::Handle<v8::Value> (*)(v8::Local<v8::String>, v8::AccessorInfo const&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, v8::AccessorInfo const&), v8::Handle<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Handle<v8::AccessorSignature>)
v8::ObjectTemplate::SetAccessor(v8::Handle<v8::String>, void (*)(v8::Local<v8::String>, v8::PropertyCallbackInfo<v8::Value> const&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, v8::PropertyCallbackInfo<void> const&), v8::Handle<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Handle<v8::AccessorSignature>)
v8::ObjectTemplate::InternalFieldCount()
v8::ObjectTemplate::MarkAsUndetectable()
v8::ObjectTemplate::SetInternalFieldCount(int)
v8::ObjectTemplate::SetAccessCheckCallbacks(bool (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::AccessType, v8::Local<v8::Value>), bool (*)(v8::Local<v8::Object>, unsigned int, v8::AccessType, v8::Local<v8::Value>), v8::Handle<v8::Value>, bool)
v8::ObjectTemplate::SetNamedPropertyHandler(v8::Handle<v8::Value> (*)(v8::Local<v8::String>, v8::AccessorInfo const&), v8::Handle<v8::Value> (*)(v8::Local<v8::String>, v8::Local<v8::Value>, v8::AccessorInfo const&), v8::Handle<v8::Integer> (*)(v8::Local<v8::String>, v8::AccessorInfo const&), v8::Handle<v8::Boolean> (*)(v8::Local<v8::String>, v8::AccessorInfo const&), v8::Handle<v8::Array> (*)(v8::AccessorInfo const&), v8::Handle<v8::Value>)
....
Now, that actually means that I am going to try and copy the v8 headers from this distro into the CEF include folder, and try to use v8 from there. The only missing thing is, to find a way to use it with the existing API. But there was a nice example in the issue you linked before.
Anyway, I simply wanted to share that. Because that means, that we may can use the bare v8 - and for my project, thats a bless =D