* src/base/ftcalc.c (FT_MulTo64): Commented out.

* include/freetype/internal/ftcalc.h (FT_SqrtFixed), src/base/ftcalc.c
(FT_SqrtFixed), include/freetype/internal/ftdebug.h
(FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic),
src/base/ftdebug.c (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message,
FT_Panic), include/freetype/internal/ftobjs.h (FT_New_Memory,
FT_Done_Memory), include/freetype/internal/ftstream.h
(FT_Stream_Open), src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory,
FT_Stream_Open): s/FT_EXPORT/FT_BASE/.

* builds/exports.mk: Manually add TT_New_Context to EXPORTS_LIST too.
This commit is contained in:
Wu, Chia-I (吳佳一) 2005-11-17 01:53:07 +00:00
parent 674ba91f12
commit 35bfc0f1b9
9 changed files with 39 additions and 21 deletions

View File

@ -1,3 +1,18 @@
2005-11-17 Chia-I Wu <b90201047@ntu.edu.tw>
* src/base/ftcalc.c (FT_MulTo64): Commented out.
* include/freetype/internal/ftcalc.h (FT_SqrtFixed), src/base/ftcalc.c
(FT_SqrtFixed), include/freetype/internal/ftdebug.h
(FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message, FT_Panic),
src/base/ftdebug.c (FT_Trace_Get_Count, FT_Trace_Get_Name, FT_Message,
FT_Panic), include/freetype/internal/ftobjs.h (FT_New_Memory,
FT_Done_Memory), include/freetype/internal/ftstream.h
(FT_Stream_Open), src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory,
FT_Stream_Open): s/FT_EXPORT/FT_BASE/.
* builds/exports.mk: Manually add TT_New_Context to EXPORTS_LIST too.
2005-11-15 David Turner <david@freetype.org>
* src/base/fttrigon.c (ft_trig_prenorm): Fix a bug that created

View File

@ -57,9 +57,12 @@ ifneq ($(EXPORTS_LIST),)
symbols_list: $(EXPORTS_LIST)
# We manually add TT_RunIns to the API which is needed by TT debuggers.
# We manually add TT_New_Context and TT_RunIns, which are needed by TT
# debuggers, to the EXPORTS_LIST.
#
$(EXPORTS_LIST): $(APINAMES_EXE) $(PUBLIC_HEADERS)
$(subst /,$(SEP),$(APINAMES_EXE)) -o$@ $(APINAMES_OPTIONS) $(PUBLIC_HEADERS)
@echo TT_New_Context >> $(EXPORTS_LIST)
@echo TT_RunIns >> $(EXPORTS_LIST)
$(PROJECT_LIBRARY): $(EXPORTS_LIST)

View File

@ -44,7 +44,7 @@ FT_BEGIN_HEADER
/* <Note> */
/* This function is not very fast. */
/* */
FT_EXPORT( FT_Int32 )
FT_BASE( FT_Int32 )
FT_SqrtFixed( FT_Int32 x );

View File

@ -113,7 +113,7 @@ FT_BEGIN_HEADER
/* This function may be useful if you want to access elements of */
/* the internal `ft_trace_levels' array by an index. */
/* */
FT_EXPORT( FT_Int )
FT_BASE( FT_Int )
FT_Trace_Get_Count( void );
@ -140,7 +140,7 @@ FT_BEGIN_HEADER
/* This function may be useful if you want to control FreeType 2's */
/* debug level in your appliaciton. */
/* */
FT_EXPORT( const char * )
FT_BASE( const char * )
FT_Trace_Get_Name( FT_Int idx );
@ -213,11 +213,11 @@ FT_BEGIN_HEADER
#include "stdio.h" /* for vprintf() */
/* print a message */
FT_EXPORT( void )
FT_BASE( void )
FT_Message( const char* fmt, ... );
/* print a message and exit */
FT_EXPORT( void )
FT_BASE( void )
FT_Panic( const char* fmt, ... );
#endif /* FT_DEBUG_LEVEL_ERROR */

View File

@ -716,7 +716,7 @@ FT_BEGIN_HEADER
/* <Return> */
/* A pointer to the new memory object. 0 in case of error. */
/* */
FT_EXPORT( FT_Memory )
FT_BASE( FT_Memory )
FT_New_Memory( void );
@ -731,7 +731,7 @@ FT_BEGIN_HEADER
/* <Input> */
/* memory :: A handle to the memory manager. */
/* */
FT_EXPORT( void )
FT_BASE( void )
FT_Done_Memory( FT_Memory memory );
#endif /* !FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM */

View File

@ -328,7 +328,7 @@ FT_BEGIN_HEADER
#ifndef FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM
/* initialize a stream for reading a regular system stream */
FT_EXPORT( FT_Error )
FT_BASE( FT_Error )
FT_Stream_Open( FT_Stream stream,
const char* filepathname );

View File

@ -505,6 +505,8 @@
}
#if 0
/* documentation is in ftcalc.h */
FT_EXPORT_DEF( void )
@ -528,8 +530,6 @@
}
#if 0
/* apparently, the second version of this code is not compiled correctly */
/* on Mac machines with the MPW C compiler.. tsk, tsk, tsk... */
@ -631,7 +631,7 @@
/* documentation is in ftcalc.h */
FT_EXPORT_DEF( FT_Int32 )
FT_BASE_DEF( FT_Int32 )
FT_SqrtFixed( FT_Int32 x )
{
FT_UInt32 root, rem_hi, rem_lo, test_div;

View File

@ -50,7 +50,7 @@
/* documentation is in ftdebug.h */
FT_EXPORT_DEF( void )
FT_BASE_DEF( void )
FT_Message( const char* fmt, ... )
{
va_list ap;
@ -64,7 +64,7 @@
/* documentation is in ftdebug.h */
FT_EXPORT_DEF( void )
FT_BASE_DEF( void )
FT_Panic( const char* fmt, ... )
{
va_list ap;
@ -101,7 +101,7 @@
/* documentation is in ftdebug.h */
FT_EXPORT_DEF( FT_Int )
FT_BASE_DEF( FT_Int )
FT_Trace_Get_Count( void )
{
return trace_count;
@ -110,7 +110,7 @@
/* documentation is in ftdebug.h */
FT_EXPORT_DEF( const char * )
FT_BASE_DEF( const char * )
FT_Trace_Get_Name( FT_Int idx )
{
int max = FT_Trace_Get_Count();
@ -224,14 +224,14 @@
}
FT_EXPORT_DEF( FT_Int )
FT_BASE_DEF( FT_Int )
FT_Trace_Get_Count( void )
{
return 0;
}
FT_EXPORT_DEF( const char * )
FT_BASE_DEF( const char * )
FT_Trace_Get_Name( FT_Int idx )
{
FT_UNUSED( idx );

View File

@ -215,7 +215,7 @@
/* documentation is in ftobjs.h */
FT_EXPORT_DEF( FT_Error )
FT_BASE_DEF( FT_Error )
FT_Stream_Open( FT_Stream stream,
const char* filepathname )
{
@ -266,7 +266,7 @@
/* documentation is in ftobjs.h */
FT_EXPORT_DEF( FT_Memory )
FT_BASE_DEF( FT_Memory )
FT_New_Memory( void )
{
FT_Memory memory;
@ -290,7 +290,7 @@
/* documentation is in ftobjs.h */
FT_EXPORT_DEF( void )
FT_BASE_DEF( void )
FT_Done_Memory( FT_Memory memory )
{
#ifdef FT_DEBUG_MEMORY