aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/ZigLazyStaticFunctions-inlines.h
blob: c973937236204aaf068ff9a0d069f5d0ffeba650 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// GENERATED FILE
#pragma once

namespace Zig {

/* -- BEGIN DOMCall DEFINITIONS -- */

static void DOMCall__FFI__ptr__put(JSC::JSGlobalObject* globalObject, JSC::EncodedJSValue value)
{
    JSC::JSObject* thisObject = JSC::jsCast<JSC::JSObject*>(JSC::JSValue::decode(value));
    static const JSC::DOMJIT::Signature DOMJIT_ptr_signature(
        FFI__ptr__fastpath,
        thisObject->classInfo(),
        JSC::DOMJIT::Effect::forPure(),
        JSC::SpecHeapTop,
        JSC::SpecUint8Array);
    JSFunction* function = JSFunction::create(
        globalObject->vm(),
        globalObject,
        1,
        String("ptr"_s),
        FFI__ptr__slowpath, ImplementationVisibility::Public, NoIntrinsic, FFI__ptr__slowpath,
        &DOMJIT_ptr_signature);
    thisObject->putDirect(
        globalObject->vm(),
        Identifier::fromString(globalObject->vm(), "ptr"_s),
        function,
        JSC::PropertyAttribute::Function | JSC::PropertyAttribute::DOMJITFunction | 0);
}

/* -- END DOMCall DEFINITIONS-- */

} // namespace Zig