blob: 253ba0f7e20e7368683fe2a6e06c1126f18ed4d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "../bindings/JSStringDecoder.h"
#include "../bindings/ZigGlobalObject.h"
#include <JavaScriptCore/JSGlobalObject.h>
namespace Zig {
DEFINE_NATIVE_MODULE(NodeStringDecoder) {
INIT_NATIVE_MODULE(1);
put(JSC::Identifier::fromString(vm, "StringDecoder"_s),
globalObject->JSStringDecoder());
RETURN_NATIVE_MODULE();
}
} // namespace Zig
|