• Vladimír Čunát's avatar
    module API+ABI: remove one level of indirection · 2875a397
    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.
    2875a397