1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-31 02:43:06 +03:00

xsltlocale: Make API platform-independent

Make xsltlocale.h more private. This really is an internal header.

Use LCMapStringW on Windows. Make the API platform-independent by
passing locales as `void *`.

Add support for custom locale handlers in a transform context. Update
ICU example to use these handlers.
This commit is contained in:
Nick Wellnhofer
2022-12-13 03:49:54 +01:00
parent ba939de9b9
commit eaa68b7738
10 changed files with 313 additions and 432 deletions

View File

@ -1,6 +1,7 @@
#include "libxml_wrap.h"
#include <libxslt/xslt.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/xsltlocale.h>
#include <libxslt/xsltutils.h>
#include <libxslt/attributes.h>
#include <libxslt/documents.h>