• Vladimír Čunát's avatar
    module API+ABI: remove one level of indirection · 176b1c28
    Vladimír Čunát authored
    ... for layers and props.  This breaks C module API+ABI.
    It seemed weird to repeatedly call a function that returns a pointer
    to a structure in which we find the function we want to actually call.
    We've never used changing these functions AFAIK, and the target
    functions could easily be written to change their behavior instead
    (i.e. move the indirection *inside* the function).
    When breaking this, I also removed these two (_layers and _props)
    from the dynamic symbols (to be) exported from the C modules.
    They always pointed to memory belonging inside the module,
    and they seem quite sensible to be set up by the _init symbol instead.
Last commit
Last update
README.rst Loading commit data...
meson.build Loading commit data...
nsid.c Loading commit data...
nsid.test.lua Loading commit data...