Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does it still work #3

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/resty/ada.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ local setmetatable = setmetatable


local _OMITTED = 0xffffffff





local _VERSION = "1.0.0"


Expand Down
2 changes: 2 additions & 0 deletions lib/resty/ada/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ local ffi_str = require("ffi").string
local tonumber = tonumber




local function ada_string_to_lua(result)
if result.data == nil then -- nullptr equals to nil but is not falsy
return nil
Expand Down