Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

619 B
Raw Blame
#include "support.h"
#include "v8-microtask-queue.h"

using namespace support;

static_assert(sizeof(v8::MicrotasksScope) == sizeof(uintptr_t) * 3);
static_assert(alignof(v8::MicrotasksScope) == alignof(uintptr_t));

extern "C" {
void v8__MicrotasksScope__CONSTRUCT(uninit_t<v8::MicrotasksScope>* storage,
                                  const v8::Context& context,
                                  v8::MicrotasksScope::Type type) {
  construct_in_place<v8::MicrotasksScope>(storage, ptr_to_local(&context), type);
}

void v8__MicrotasksScope__DESTRUCT(v8::MicrotasksScope* scope) {
  scope->~MicrotasksScope();
}
}