Imported Upstream version 58.1
[platform/upstream/icu.git] / source / samples / layout / ucreader.cpp
1 /*
2  *
3  * Copyright (C) 2016 and later: Unicode, Inc. and others.
4  * License & terms of use: http://www.unicode.org/copyright.html#License
5  *
6  * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
7  *
8  */
9
10 #include "unicode/utypes.h"
11
12 #include "ucreader.h"
13 #include "gsupport.h"
14 #include "UnicodeReader.h"
15
16 U_CDECL_BEGIN
17
18 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount)
19 {
20     return UnicodeReader::readFile(fileName, (GUISupport *) guiSupport, *charCount);
21 }
22
23 U_CDECL_END