blob: 0007af24ea726d21e75e032e72a9e61eb41a7dd1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* See LICENSE file for copyright and license details. */
#include "libcmap.h"
#include <limits.h>
#define SINGLETON_RANGE_FMT "U+%04lX"
#define SINGLETON_RANGE_ARGS(RANGE)\
(unsigned long int)((RANGE)->first)
#define RANGE_FMT "U+%04lX%sU+%04lX"
#define RANGE_ARGS(RANGE, ENDASH)\
(unsigned long int)((RANGE)->first),\
((ENDASH) ? (ENDASH) : "–"),\
(unsigned long int)((RANGE)->last)
|