Current section

Files

Jump to
glua src glua@lib@bit32.erl
Raw

src/glua@lib@bit32.erl

-module(glua@lib@bit32).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/glua/lib/bit32.gleam").
-export(['band'/0, 'bnot'/0, 'bor'/0, btest/0, 'bxor'/0, lshift/0, rshift/0, arshift/0, lrotate/0, rrotate/0, extract/0, replace/0]).
-if(?OTP_RELEASE >= 27).
-define(MODULEDOC(Str), -moduledoc(Str)).
-define(DOC(Str), -doc(Str)).
-else.
-define(MODULEDOC(Str), -compile([])).
-define(DOC(Str), -compile([])).
-endif.
?MODULEDOC(
" Bindings to the functions under `_G.bit32`.\n"
"\n"
" As of Lua 5.3, the entire bit32 library is deprecated.\n"
).
-file("src/glua/lib/bit32.gleam", 9).
?DOC(" Returns the `bit32.band` function.\n").
-spec 'band'() -> glua:value().
'band'() ->
glua_stdlib_ffi:bit32_band().
-file("src/glua/lib/bit32.gleam", 13).
?DOC(" Returns the `bit32.bnot` function.\n").
-spec 'bnot'() -> glua:value().
'bnot'() ->
glua_stdlib_ffi:bit32_bnot().
-file("src/glua/lib/bit32.gleam", 17).
?DOC(" Returns the `bit32.bor` function.\n").
-spec 'bor'() -> glua:value().
'bor'() ->
glua_stdlib_ffi:bit32_bor().
-file("src/glua/lib/bit32.gleam", 21).
?DOC(" Returns the `bit32.btest` function.\n").
-spec btest() -> glua:value().
btest() ->
glua_stdlib_ffi:bit32_btest().
-file("src/glua/lib/bit32.gleam", 25).
?DOC(" Returns the `bit32.bxor` function.\n").
-spec 'bxor'() -> glua:value().
'bxor'() ->
glua_stdlib_ffi:bit32_bxor().
-file("src/glua/lib/bit32.gleam", 29).
?DOC(" Returns the `bit32.lshift` function.\n").
-spec lshift() -> glua:value().
lshift() ->
glua_stdlib_ffi:bit32_lshift().
-file("src/glua/lib/bit32.gleam", 33).
?DOC(" Returns the `bit32.rshift` function.\n").
-spec rshift() -> glua:value().
rshift() ->
glua_stdlib_ffi:bit32_rshift().
-file("src/glua/lib/bit32.gleam", 37).
?DOC(" Returns the `bit32.arshift` function.\n").
-spec arshift() -> glua:value().
arshift() ->
glua_stdlib_ffi:bit32_arshift().
-file("src/glua/lib/bit32.gleam", 41).
?DOC(" Returns the `bit32.lrotate` function.\n").
-spec lrotate() -> glua:value().
lrotate() ->
glua_stdlib_ffi:bit32_lrotate().
-file("src/glua/lib/bit32.gleam", 45).
?DOC(" Returns the `bit32.rrotate` function.\n").
-spec rrotate() -> glua:value().
rrotate() ->
glua_stdlib_ffi:bit32_rrotate().
-file("src/glua/lib/bit32.gleam", 49).
?DOC(" Returns the `bit32.extract` function.\n").
-spec extract() -> glua:value().
extract() ->
glua_stdlib_ffi:bit32_extract().
-file("src/glua/lib/bit32.gleam", 53).
?DOC(" Returns the `bit32.replace` function.\n").
-spec replace() -> glua:value().
replace() ->
glua_stdlib_ffi:bit32_replace().