view lua/luadyncall/rockspec/luadyncall-0.1-1.rockspec @ 46:c21d1c2c84e1

- removed pydc.py wrapper overhead (which only called pydcext.so functions, directly, anyways) * implies renaming pydcext.* to pydc.* * while at it, iterate directly over args that are passed in (before we did extract fptr, sig and a tuple for the args and iterated over latter afterwards); we might have a tiny perf improvement now - added type stub as package_data
author Tassilo Philipp
date Fri, 13 Nov 2020 14:10:31 +0100
parents 0cfcc391201f
children
line wrap: on
line source

package = "luadyncall"
version = "0.1-1"
source = {
  url = "http://..."
}
description = {
  summary = "Lua DynCall Bindings variant 2.",
  detailed = [[
    Foreign Function Interface - variant 2 (built-in rock)
  ]],
  homepage = "http://dyncall.org",
  license = "ISC"
}
dependencies = {
  "lua >= 5.1"
}
external_dependencies = {
  DYNCALL = {
    header = "dyncall.h"
  }
}
build = {
  type = "builtin",
  modules = {
    ldynload = {
      sources = "src/ldynload.c",
      libraries = {"dynload_s"},
      libdirs = {"$(DYNCALL_LIBDIR)"},
      incdirs = {"$(DYNCALL_INCDIR)"}
    },
    ldyncall = {
      sources = "src/ldyncall.c",
      libraries = {"dyncall_s"},
      libdirs = {"$(DYNCALL_LIBDIR)"},
      incdirs = {"$(DYNCALL_INCDIR)"}
    },
    larray = {
      sources = "src/larray.c",
      incdirs = {"$(DYNCALL_INCDIR)"}
    },
    dynload = "src/dynload.lua",
    dyncall = "src/dyncall.lua",
    dynport = "src/dynport.lua",
    smartptr= "src/smartptr.lua",
    path    = "src/path.lua",
    array   = "src/array.c",
    intutils= "src/intutils.lua"
  }
}