ICU-7752 library: rename generated *_props_data.c files to .h and add #ifndef guard

X-SVN-Rev: 30817
This commit is contained in:
Markus Scherer 2011-10-12 22:58:30 +00:00
parent 7b666417fd
commit ff780b0d80
6 changed files with 30 additions and 15 deletions

View File

@ -1,7 +1,7 @@
/*
*******************************************************************************
*
* Copyright (C) 2004-2010, International Business Machines
* Copyright (C) 2004-2011, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
@ -38,8 +38,9 @@ struct UBiDiProps {
uint8_t formatVersion[4];
};
/* ubidi_props_data.c is machine-generated by genbidi --csource */
#include "ubidi_props_data.c"
/* ubidi_props_data.h is machine-generated by genbidi --csource */
#define INCLUDED_FROM_UBIDI_PROPS_C
#include "ubidi_props_data.h"
/* UBiDiProps singleton ----------------------------------------------------- */

View File

@ -1,12 +1,16 @@
/*
* Copyright (C) 1999-2010, International Business Machines
* Copyright (C) 1999-2011, International Business Machines
* Corporation and others. All Rights Reserved.
*
* file name: ubidi_props_data.c
* file name: ubidi_props_data.h
*
* machine-generated on: 2010-09-19
* machine-generated on: 2011-10-12
*/
#ifndef INCLUDED_FROM_UBIDI_PROPS_C
# error This file must be #included from ubidi_props.c only.
#endif
static const UVersionInfo ubidi_props_dataVersion={6,0,0,0};
static const int32_t ubidi_props_indexes[UBIDI_IX_TOP]={0x10,0x4fa0,0x4d98,0x1a,0x620,0x780,0,0,0,0,0,0,0,0,0,0x3800b2};

View File

@ -40,8 +40,9 @@ struct UCaseProps {
uint8_t formatVersion[4];
};
/* ucase_props_data.c is machine-generated by gencase --csource */
#include "ucase_props_data.c"
/* ucase_props_data.h is machine-generated by gencase --csource */
#define INCLUDED_FROM_UCASE_CPP
#include "ucase_props_data.h"
/* UCaseProps singleton ----------------------------------------------------- */

View File

@ -1,12 +1,16 @@
/*
* Copyright (C) 1999-2010, International Business Machines
* Copyright (C) 1999-2011, International Business Machines
* Corporation and others. All Rights Reserved.
*
* file name: ucase_props_data.c
* file name: ucase_props_data.h
*
* machine-generated on: 2010-09-19
* machine-generated on: 2011-10-12
*/
#ifndef INCLUDED_FROM_UCASE_CPP
# error This file must be #included from ucase.cpp only.
#endif
static const UVersionInfo ucase_props_dataVersion={6,0,0,0};
static const int32_t ucase_props_indexes[UCASE_IX_TOP]={0x10,0x5654,0x4918,0x50c,0x172,0,0,0,0,0,0,0,0,0,0,3};

View File

@ -34,8 +34,9 @@
#define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
/* uchar_props_data.c is machine-generated by genprops --csource */
#include "uchar_props_data.c"
/* uchar_props_data.h is machine-generated by genprops --csource */
#define INCLUDED_FROM_UCHAR_C
#include "uchar_props_data.h"
/* constants and macros for access to the data ------------------------------ */

View File

@ -2,11 +2,15 @@
* Copyright (C) 1999-2011, International Business Machines
* Corporation and others. All Rights Reserved.
*
* file name: uchar_props_data.c
* file name: uchar_props_data.h
*
* machine-generated on: 2011-05-10
* machine-generated on: 2011-10-12
*/
#ifndef INCLUDED_FROM_UCHAR_C
# error This file must be #included from uchar.c only.
#endif
static const UVersionInfo dataVersion={6,0,0,0};
static const uint16_t propsTrie_index[17204]={