Add Chromium-only Blender WebEngine parity work
This commit is contained in:
14
web/engine/web_engine_smoke.cpp
Normal file
14
web/engine/web_engine_smoke.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user