view test/callback_suite/make-config.lua @ 226:6e40eb9fb261

- different strategy for mach-o files to lookup symbol names, in order to be consistent with other functions (that use dladdr() and dlsym() calls, which mostly don't use '_' prefixes)
author Tassilo Philipp
date Sat, 15 Apr 2017 22:02:58 +0200
parents 3e629dc19168
children 45ac093ca822
line wrap: on
line source

require "config"

local defs = {
  MAXARGS = maxargs,
  NSIGS   = nsigs,
  API     = api
}

for k,v in pairs(defs) do
  io.write("#define CONFIG_" .. k .. " " .. v .. "\n" )
end
io.flush()