Embedding/NewApi: Difference between revisions

Line 14: Line 14:


== Common Layer ==
== Common Layer ==
There are 2 main classes for embedding.
The common layer is implemented using plain C++. For strings we are using char* encoded as utf-8. When methods return pointers to newly allocated buffers (e.g. strings) it is the responsibility of the caller to free those.
 
There are 2 main classes for embedding:


=== MozView ===
=== MozView ===
73

edits