Skip to content

Commit

Permalink
use has_cxxfunc instead of has_cfunc
Browse files Browse the repository at this point in the history
  • Loading branch information
enzalito committed Jul 12, 2024
1 parent d4d857a commit ef00baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/n/node-addon-api/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ package("node-addon-api")
end)

on_test(function (package)
assert(package:has_cfuncs("Napi::Just(0)", {includes = "napi.h"}))
assert(package:has_cxxfuncs("Napi::Just(0)", {includes = "napi.h"}))
end)

0 comments on commit ef00baf

Please sign in to comment.