chore(nif): add nif stubs

Signed-off-by: SphericalKat <amolele@gmail.com>
This commit is contained in:
sphericalkat committed 2021-08-16 14:10:22 +05:30
1 parent 024b8a7c64
commit ed731994d7
3 files changed
+120

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
defmodule Ketbin.Utils.Syntax do
use Rustler, otp_app: :ketbin, crate: "ketbin_utils_syntax"
# When your NIF is loaded, it will override this function.
def add(_a, _b), do: :erlang.nif_error(:nif_not_loaded)
end