Sha256: c8e9091903620f7f5fc0162eb354e981299bd66109b2d5dc1f1dcefd0d3777fc

Contents?: true

Size: 1.51 KB

Versions: 190

Compression:

Stored size: 1.51 KB

Contents

/*
 * Summary: Locale handling
 * Description: Interfaces for locale handling. Needed for language dependent
 *              sorting.
 *
 * Copy: See Copyright for the status of this software.
 *
 * Author: Nick Wellnhofer
 */

#ifndef __XML_XSLTLOCALE_H__
#define __XML_XSLTLOCALE_H__

#include <libxml/xmlstring.h>
#include "xsltexports.h"

#ifdef HAVE_STRXFRM_L

/*
 * XSLT_LOCALE_POSIX:
 * Macro indicating to use POSIX locale extensions
 */
#define XSLT_LOCALE_POSIX

#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
#ifdef HAVE_XLOCALE_H
#include <xlocale.h>
#endif

typedef locale_t xsltLocale;
typedef xmlChar xsltLocaleChar;

#elif defined(_WIN32) && !defined(__CYGWIN__)

/*
 * XSLT_LOCALE_WINAPI:
 * Macro indicating to use WinAPI for extended locale support
 */
#define XSLT_LOCALE_WINAPI

#include <windows.h>
#include <winnls.h>

typedef LCID xsltLocale;
typedef wchar_t xsltLocaleChar;

#else

/*
 * XSLT_LOCALE_NONE:
 * Macro indicating that there's no extended locale support
 */
#define XSLT_LOCALE_NONE

typedef void *xsltLocale;
typedef xmlChar xsltLocaleChar;

#endif

XSLTPUBFUN xsltLocale XSLTCALL
	xsltNewLocale			(const xmlChar *langName);
XSLTPUBFUN void XSLTCALL
	xsltFreeLocale			(xsltLocale locale);
XSLTPUBFUN xsltLocaleChar * XSLTCALL
	xsltStrxfrm			(xsltLocale locale,
					 const xmlChar *string);
XSLTPUBFUN int XSLTCALL
	xsltLocaleStrcmp		(xsltLocale locale,
					 const xsltLocaleChar *str1,
					 const xsltLocaleChar *str2);
XSLTPUBFUN void XSLTCALL
	xsltFreeLocales			(void);

#endif /* __XML_XSLTLOCALE_H__ */

Version data entries

190 entries across 181 versions & 6 rubygems

Version Path
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/nokogiri-1.13.3-arm64-darwin/ext/nokogiri/include/libxslt/xsltlocale.h
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/nokogiri-1.13.8-arm64-darwin/ext/nokogiri/include/libxslt/xsltlocale.h
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/nokogiri-1.13.3-arm64-darwin/ext/nokogiri/include/libxslt/xsltlocale.h
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/nokogiri-1.13.8-arm64-darwin/ext/nokogiri/include/libxslt/xsltlocale.h
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/nokogiri-1.13.8-x86_64-linux/ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.8-x86_64-linux ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.8-x86_64-darwin ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.8-x86-mingw32 ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.8-x86-linux ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.8-x64-mingw32 ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.8-x64-mingw-ucrt ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.8-arm64-darwin ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.8-aarch64-linux ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.7-x86_64-linux ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.7-x86_64-darwin ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.7-x86-mingw32 ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.7-x86-linux ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.7-x64-mingw32 ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.7-x64-mingw-ucrt ext/nokogiri/include/libxslt/xsltlocale.h
nokogiri-1.13.7-arm64-darwin ext/nokogiri/include/libxslt/xsltlocale.h