ICU 51.2  51.2
parseerr.h
Go to the documentation of this file.
1 /*
2 **********************************************************************
3 * Copyright (C) 1999-2005, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 * Date Name Description
7 * 03/14/00 aliu Creation.
8 * 06/27/00 aliu Change from C++ class to C struct
9 **********************************************************************
10 */
11 #ifndef PARSEERR_H
12 #define PARSEERR_H
13 
14 #include "unicode/utypes.h"
15 
16 
25 enum { U_PARSE_CONTEXT_LEN = 16 };
26 
56 typedef struct UParseError {
57 
65  int32_t line;
66 
74  int32_t offset;
75 
81  UChar preContext[U_PARSE_CONTEXT_LEN];
82 
88  UChar postContext[U_PARSE_CONTEXT_LEN];
89 
90 } UParseError;
91 
92 #endif