ICU-5278 update udraft.h and friends

X-SVN-Rev: 19893
This commit is contained in:
Ram Viswanadha 2006-07-25 22:46:49 +00:00
parent cbd6f5368e
commit 6af17c629b
4 changed files with 43 additions and 1 deletions

View file

@ -56,6 +56,9 @@
# define u_sprintf_u u_sprintf_u_DRAFT_API_DO_NOT_USE
# define u_sscanf u_sscanf_DRAFT_API_DO_NOT_USE
# define u_sscanf_u u_sscanf_u_DRAFT_API_DO_NOT_USE
# define u_strFromUTF8Lenient u_strFromUTF8Lenient_DRAFT_API_DO_NOT_USE
# define u_strFromUTF8WithSub u_strFromUTF8WithSub_DRAFT_API_DO_NOT_USE
# define u_strToUTF8WithSub u_strToUTF8WithSub_DRAFT_API_DO_NOT_USE
# define u_vfprintf u_vfprintf_DRAFT_API_DO_NOT_USE
# define u_vfprintf_u u_vfprintf_u_DRAFT_API_DO_NOT_USE
# define u_vfscanf u_vfscanf_DRAFT_API_DO_NOT_USE
@ -66,7 +69,15 @@
# define u_vsprintf_u u_vsprintf_u_DRAFT_API_DO_NOT_USE
# define u_vsscanf u_vsscanf_DRAFT_API_DO_NOT_USE
# define u_vsscanf_u u_vsscanf_u_DRAFT_API_DO_NOT_USE
# define ubidi_getProcessedLength ubidi_getProcessedLength_DRAFT_API_DO_NOT_USE
# define ubidi_getReorderingMode ubidi_getReorderingMode_DRAFT_API_DO_NOT_USE
# define ubidi_getReorderingOptions ubidi_getReorderingOptions_DRAFT_API_DO_NOT_USE
# define ubidi_getResultLength ubidi_getResultLength_DRAFT_API_DO_NOT_USE
# define ubidi_setReorderingMode ubidi_setReorderingMode_DRAFT_API_DO_NOT_USE
# define ubidi_setReorderingOptions ubidi_setReorderingOptions_DRAFT_API_DO_NOT_USE
# define ubrk_setUText ubrk_setUText_DRAFT_API_DO_NOT_USE
# define ucal_getGregorianChange ucal_getGregorianChange_DRAFT_API_DO_NOT_USE
# define ucal_setGregorianChange ucal_setGregorianChange_DRAFT_API_DO_NOT_USE
# define ucasemap_close ucasemap_close_DRAFT_API_DO_NOT_USE
# define ucasemap_getLocale ucasemap_getLocale_DRAFT_API_DO_NOT_USE
# define ucasemap_getOptions ucasemap_getOptions_DRAFT_API_DO_NOT_USE
@ -76,6 +87,7 @@
# define ucasemap_utf8ToLower ucasemap_utf8ToLower_DRAFT_API_DO_NOT_USE
# define ucasemap_utf8ToUpper ucasemap_utf8ToUpper_DRAFT_API_DO_NOT_USE
# define ucnv_fromUCountPending ucnv_fromUCountPending_DRAFT_API_DO_NOT_USE
# define ucnv_setSubstString ucnv_setSubstString_DRAFT_API_DO_NOT_USE
# define ucnv_toUCountPending ucnv_toUCountPending_DRAFT_API_DO_NOT_USE
# define ucol_getContractionsAndExpansions ucol_getContractionsAndExpansions_DRAFT_API_DO_NOT_USE
# define ucsdet_close ucsdet_close_DRAFT_API_DO_NOT_USE
@ -99,6 +111,9 @@
# define ulocdata_open ulocdata_open_DRAFT_API_DO_NOT_USE
# define ulocdata_setNoSubstitute ulocdata_setNoSubstitute_DRAFT_API_DO_NOT_USE
# define umsg_autoQuoteApostrophe umsg_autoQuoteApostrophe_DRAFT_API_DO_NOT_USE
# define ures_getUTF8String ures_getUTF8String_DRAFT_API_DO_NOT_USE
# define ures_getUTF8StringByIndex ures_getUTF8StringByIndex_DRAFT_API_DO_NOT_USE
# define ures_getUTF8StringByKey ures_getUTF8StringByKey_DRAFT_API_DO_NOT_USE
# define uset_addAllCodePoints uset_addAllCodePoints_DRAFT_API_DO_NOT_USE
# define uset_containsAllCodePoints uset_containsAllCodePoints_DRAFT_API_DO_NOT_USE
# define utext_char32At utext_char32At_DRAFT_API_DO_NOT_USE
@ -107,6 +122,7 @@
# define utext_copy utext_copy_DRAFT_API_DO_NOT_USE
# define utext_current32 utext_current32_DRAFT_API_DO_NOT_USE
# define utext_extract utext_extract_DRAFT_API_DO_NOT_USE
# define utext_freeze utext_freeze_DRAFT_API_DO_NOT_USE
# define utext_getNativeIndex utext_getNativeIndex_DRAFT_API_DO_NOT_USE
# define utext_hasMetaData utext_hasMetaData_DRAFT_API_DO_NOT_USE
# define utext_isLengthExpensive utext_isLengthExpensive_DRAFT_API_DO_NOT_USE
@ -155,6 +171,9 @@
# define u_sprintf_u_3_6 u_sprintf_u_DRAFT_API_DO_NOT_USE
# define u_sscanf_3_6 u_sscanf_DRAFT_API_DO_NOT_USE
# define u_sscanf_u_3_6 u_sscanf_u_DRAFT_API_DO_NOT_USE
# define u_strFromUTF8Lenient_3_6 u_strFromUTF8Lenient_DRAFT_API_DO_NOT_USE
# define u_strFromUTF8WithSub_3_6 u_strFromUTF8WithSub_DRAFT_API_DO_NOT_USE
# define u_strToUTF8WithSub_3_6 u_strToUTF8WithSub_DRAFT_API_DO_NOT_USE
# define u_vfprintf_3_6 u_vfprintf_DRAFT_API_DO_NOT_USE
# define u_vfprintf_u_3_6 u_vfprintf_u_DRAFT_API_DO_NOT_USE
# define u_vfscanf_3_6 u_vfscanf_DRAFT_API_DO_NOT_USE
@ -165,7 +184,15 @@
# define u_vsprintf_u_3_6 u_vsprintf_u_DRAFT_API_DO_NOT_USE
# define u_vsscanf_3_6 u_vsscanf_DRAFT_API_DO_NOT_USE
# define u_vsscanf_u_3_6 u_vsscanf_u_DRAFT_API_DO_NOT_USE
# define ubidi_getProcessedLength_3_6 ubidi_getProcessedLength_DRAFT_API_DO_NOT_USE
# define ubidi_getReorderingMode_3_6 ubidi_getReorderingMode_DRAFT_API_DO_NOT_USE
# define ubidi_getReorderingOptions_3_6 ubidi_getReorderingOptions_DRAFT_API_DO_NOT_USE
# define ubidi_getResultLength_3_6 ubidi_getResultLength_DRAFT_API_DO_NOT_USE
# define ubidi_setReorderingMode_3_6 ubidi_setReorderingMode_DRAFT_API_DO_NOT_USE
# define ubidi_setReorderingOptions_3_6 ubidi_setReorderingOptions_DRAFT_API_DO_NOT_USE
# define ubrk_setUText_3_6 ubrk_setUText_DRAFT_API_DO_NOT_USE
# define ucal_getGregorianChange_3_6 ucal_getGregorianChange_DRAFT_API_DO_NOT_USE
# define ucal_setGregorianChange_3_6 ucal_setGregorianChange_DRAFT_API_DO_NOT_USE
# define ucasemap_close_3_6 ucasemap_close_DRAFT_API_DO_NOT_USE
# define ucasemap_getLocale_3_6 ucasemap_getLocale_DRAFT_API_DO_NOT_USE
# define ucasemap_getOptions_3_6 ucasemap_getOptions_DRAFT_API_DO_NOT_USE
@ -175,6 +202,7 @@
# define ucasemap_utf8ToLower_3_6 ucasemap_utf8ToLower_DRAFT_API_DO_NOT_USE
# define ucasemap_utf8ToUpper_3_6 ucasemap_utf8ToUpper_DRAFT_API_DO_NOT_USE
# define ucnv_fromUCountPending_3_6 ucnv_fromUCountPending_DRAFT_API_DO_NOT_USE
# define ucnv_setSubstString_3_6 ucnv_setSubstString_DRAFT_API_DO_NOT_USE
# define ucnv_toUCountPending_3_6 ucnv_toUCountPending_DRAFT_API_DO_NOT_USE
# define ucol_getContractionsAndExpansions_3_6 ucol_getContractionsAndExpansions_DRAFT_API_DO_NOT_USE
# define ucsdet_close_3_6 ucsdet_close_DRAFT_API_DO_NOT_USE
@ -198,6 +226,9 @@
# define ulocdata_open_3_6 ulocdata_open_DRAFT_API_DO_NOT_USE
# define ulocdata_setNoSubstitute_3_6 ulocdata_setNoSubstitute_DRAFT_API_DO_NOT_USE
# define umsg_autoQuoteApostrophe_3_6 umsg_autoQuoteApostrophe_DRAFT_API_DO_NOT_USE
# define ures_getUTF8StringByIndex_3_6 ures_getUTF8StringByIndex_DRAFT_API_DO_NOT_USE
# define ures_getUTF8StringByKey_3_6 ures_getUTF8StringByKey_DRAFT_API_DO_NOT_USE
# define ures_getUTF8String_3_6 ures_getUTF8String_DRAFT_API_DO_NOT_USE
# define uset_addAllCodePoints_3_6 uset_addAllCodePoints_DRAFT_API_DO_NOT_USE
# define uset_containsAllCodePoints_3_6 uset_containsAllCodePoints_DRAFT_API_DO_NOT_USE
# define utext_char32At_3_6 utext_char32At_DRAFT_API_DO_NOT_USE
@ -206,6 +237,7 @@
# define utext_copy_3_6 utext_copy_DRAFT_API_DO_NOT_USE
# define utext_current32_3_6 utext_current32_DRAFT_API_DO_NOT_USE
# define utext_extract_3_6 utext_extract_DRAFT_API_DO_NOT_USE
# define utext_freeze_3_6 utext_freeze_DRAFT_API_DO_NOT_USE
# define utext_getNativeIndex_3_6 utext_getNativeIndex_DRAFT_API_DO_NOT_USE
# define utext_hasMetaData_3_6 utext_hasMetaData_DRAFT_API_DO_NOT_USE
# define utext_isLengthExpensive_3_6 utext_isLengthExpensive_DRAFT_API_DO_NOT_USE

View file

@ -28,6 +28,7 @@
# define u_setAtomicIncDecFunctions u_setAtomicIncDecFunctions_SYSTEM_API_DO_NOT_USE
# define u_setMemoryFunctions u_setMemoryFunctions_SYSTEM_API_DO_NOT_USE
# define u_setMutexFunctions u_setMutexFunctions_SYSTEM_API_DO_NOT_USE
# define ucnv_setDefaultName ucnv_setDefaultName_SYSTEM_API_DO_NOT_USE
# define uloc_getDefault uloc_getDefault_SYSTEM_API_DO_NOT_USE
# define uloc_setDefault uloc_setDefault_SYSTEM_API_DO_NOT_USE
# else
@ -35,6 +36,7 @@
# define u_setAtomicIncDecFunctions_3_6 u_setAtomicIncDecFunctions_SYSTEM_API_DO_NOT_USE
# define u_setMemoryFunctions_3_6 u_setMemoryFunctions_SYSTEM_API_DO_NOT_USE
# define u_setMutexFunctions_3_6 u_setMutexFunctions_SYSTEM_API_DO_NOT_USE
# define ucnv_setDefaultName_3_6 ucnv_setDefaultName_SYSTEM_API_DO_NOT_USE
# define uloc_getDefault_3_6 uloc_getDefault_SYSTEM_API_DO_NOT_USE
# define uloc_setDefault_3_6 uloc_setDefault_SYSTEM_API_DO_NOT_USE
# endif /* U_DISABLE_RENAMING */

View file

@ -0,0 +1,7 @@
#*
#*******************************************************************************
#* Copyright (C) 2006, International Business Machines
#* Corporation and others. All Rights Reserved.
#*******************************************************************************
#*
# file that contains function names that need to be excluded from generation

View file

@ -76,6 +76,7 @@ sub main(){
or die "could not open the file $exclude for reading: $! \n";
my %exclude;
while (defined ($line = <$excludeFH>)){
next if( $line =~ /^#/);
$line =~ s/^\s+//;
$line =~ s/\s+\n$//;
$exclude{$line}="EXCLUDE";
@ -138,7 +139,7 @@ print $outFH <<END_HEADER_COMMENT;
* Created by: genheaders.pl, a perl script written by Ram Viswanadha
*
* Contains data for commenting out APIs.
* Gets included by utypes.h
* Gets included by umachine.h
*
* THIS FILE IS MACHINE-GENERATED, DON'T PLAY WITH IT IF YOU DON'T KNOW WHAT
* YOU ARE DOING, OTHERWISE VERY BAD THINGS WILL HAPPEN!