X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=README;h=0a8917825f03968d0283a24d05d8ce875a346ab9;hb=f663042893ad9b4ca81e0309fd336f8b659b3426;hp=58e129026b859ab1da071e69efd0100c69d55313;hpb=3ad58ee1f5df589646d11b3088788f05b089fa6b;p=openjpeg.git diff --git a/README b/README index 58e12902..0a891782 100644 --- a/README +++ b/README @@ -32,3 +32,16 @@ see LICENSE for license and copyright information. see INSTALL for installation procedures. see NEWS for user visible changes in successive releases. see CHANGES for per-revision changes. + +---------------- +API/ABI + +OpenJPEG strives to provide a stable API/ABI for your applications. As such it +only exposes a limited subset of its functions. It uses a mecanism of +exporting/hiding functions. If you are unsure which functions you can use in +your applications, you should compile OpenJPEG using something similar to gcc: +-fvisibility=hidden compilation flag. +See also: http://gcc.gnu.org/wiki/Visibility + +On windows, MSVC directly supports export/hidding function and as such the only +API available is the one supported by OpenJPEG.