Commit b54dd81d authored by Vladimír Čunát's avatar Vladimír Čunát Committed by Tomas Krizek

document module API+ABI changes

parent 7168201b
......@@ -42,6 +42,8 @@ Bugfixes
Module API changes
- kr_straddr_split() changed API a bit (compiler will catch that)
- C modules defining `*_layer` or `*_props` symbols need to change a bit
See the upgrading guide for details. It's detected on module load.
Knot Resolver 3.2.1 (2019-01-10)
......@@ -63,6 +63,9 @@ Module changes
* ``kr_straddr_split()`` API has changed.
* C modules defining ``*_layer`` or ``*_props`` symbols need to use a different style, but it's typically a trivial change.
Instead of exporting the corresponding symbols, the module should assign pointers to its static structures inside its ``*_init()`` function. Example migration:
`bogus_log module <>`_.
.. _upgrade-from-2-to-3:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment