Question about some programming on cef2go

152 views
Skip to first unread message

sindr...@gmail.com

unread,
May 5, 2014, 2:31:10 PM5/5/14
to cef...@googlegroups.com
hi,

I notice that the .go file are using the include/capi header instead of cpp include header, is this because golang only support go -> c binding ?

I also notice that the /handler/cef_*.h file are not from CEF source.
Is there any reason why original header are not used ?

Thanks for releasing cef2go, i learnt alot on how program with CEF.

Thanks

Czarek Tomczak

unread,
May 5, 2014, 2:42:01 PM5/5/14
to
Hi Sindrosa,

You can't use real C++ api with Go. There is the SWIG C++ wrapper but this basically wraps a C++ api into a C api. And it's not currently supported by Go, it needs some hacks. There are also other problems. See the Issue 4 for more details:


The files in the handlers/ directory are taken from the cefcapi project:


The CEF C API is not straightforward to use, you need some additional layers to work with it.

Best regards,
Czarek

sindr...@gmail.com

unread,
May 6, 2014, 10:39:34 AM5/6/14
to cef...@googlegroups.com
hi,

Thanks for the reply, will you resume the cef2go project after Go 1.3 released ? as the bug might be fix in the version

Regards

Reply all
Reply to author
Forward
0 new messages