blob: c5fc285d4493a20227f9bae46c74bb4a982c57fb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* See LICENSE file for copyright and license details. */
#include "libcmap.h"
#include <limits.h>
#include <stdio.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)
|