In addition to our C++ API, Ultralight offers a portable C API for use within C and other languages.
To use Ultralight in your C code, add the following path to your project's include directories (replace
<SDK_ROOT> with the path to the Ultralight SDK):
<Ultralight/CAPI.h> at the top of your code to import the API.
If you want to use the optional AppCore API (cross-platform windowing/drawing layer), you should also include
<AppCore/CAPI.h> at the top of your code.
Updated 5 months ago