15 lines
332 B
C++
15 lines
332 B
C++
#include <cstdint>
|
|
|
|
#include "web_engine_api.h"
|
|
|
|
extern "C" {
|
|
|
|
int web_engine_smoke_value(void) {
|
|
const int handle = web_engine_create();
|
|
const WebEngineMemoryStats stats = web_engine_get_memory_stats();
|
|
web_engine_destroy(handle);
|
|
return static_cast<int>((UINT32_C(0x574542) & UINT32_C(0xffff)) + stats.live_handles);
|
|
}
|
|
|
|
}
|