Skip to content

Commit

Permalink
Merge branch 'main' into jv-windows-once
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu authored Jan 28, 2025
2 parents bf68f36 + 66b5427 commit bad879e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adbc_nif.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Adbc.Nif do

@on_load :load_nif
def load_nif do
:ok = Adbc.DLLLoaderNif.add_dll_directory()
:ok = Adbc.DLLLoaderNif.init()

Check warning on line 6 in lib/adbc_nif.ex

View workflow job for this annotation

GitHub Actions / linux

Adbc.DLLLoaderNif.init/0 is undefined or private

Check warning on line 6 in lib/adbc_nif.ex

View workflow job for this annotation

GitHub Actions / windows

Adbc.DLLLoaderNif.init/0 is undefined or private
nif_file = ~c"#{:code.priv_dir(:adbc)}/adbc_nif"

case :erlang.load_nif(nif_file, 0) do
Expand Down

0 comments on commit bad879e

Please sign in to comment.