Re: [AD] dll binary compatibility maintenance. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> hi all! just noticed that grzegorz removed (rewrote) the function
> _load_config_text(). in order to preserve binary compatibility i think we
> should add a src/win/compat.c file which contains dummy functions for all
> functions that no longer exists. theese functions should also alert the
> user and terminate any program that tries to use such a function.
Sorry about the delay...
Is that stuff really needed ? I think we should make a clear requirement of
not removing any symbol between binary compatible versions: 4.0.0, 4.0.1 and
so on.
> definitions could go into src/win/compat.h and be included by
> include/winalleg.h... what do you think?
That won't work because the DLL export definition file is split into 3
independent parts: API symbols (allegro.h), Win API symbols (winalleg.h),
internals (aintern.h). This makes it easier to read the file and manually
check the DLL binary compatibility.
-Eric