Skip to content

Commit b1f8663

Browse files
committed
Adapt bindings to rescript_compiler
1 parent f3e4618 commit b1f8663

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bindings/Bs_platform_api.re

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -327,16 +327,16 @@ module Compiler = {
327327
type t;
328328

329329
// Factory
330-
[@bs.val] [@bs.scope "bs_platform"] external make: unit => t = "make";
330+
[@bs.val] [@bs.scope "rescript_compiler"] external make: unit => t = "make";
331331

332332
[@bs.get] external version: t => string = "version";
333333

334334
/*
335335
Res compiler actions
336336
*/
337-
[@bs.get] [@bs.scope "napkin"] external resVersion: t => string = "version";
337+
[@bs.get] [@bs.scope "rescript"] external resVersion: t => string = "version";
338338

339-
[@bs.send] [@bs.scope "napkin"]
339+
[@bs.send] [@bs.scope "rescript"]
340340
external resCompile: (t, string) => Js.Json.t = "compile";
341341

342342
let resCompile = (t, code): CompilationResult.t => {
@@ -347,7 +347,7 @@ module Compiler = {
347347
CompilationResult.decode(~time=stopTime -. startTime, json);
348348
};
349349

350-
[@bs.send] [@bs.scope "napkin"]
350+
[@bs.send] [@bs.scope "rescript"]
351351
external resFormat: (t, string) => Js.Json.t = "format";
352352

353353
let resFormat = (t, code): ConversionResult.t => {
@@ -448,5 +448,5 @@ module Compiler = {
448448
};
449449
};
450450

451-
[@bs.val] [@bs.scope "bs_platform"]
451+
[@bs.val] [@bs.scope "rescript_compiler"]
452452
external apiVersion: string = "api_version";

0 commit comments

Comments
 (0)