diff options
author | David Turner <david@freetype.org> | 2002-03-01 02:26:22 +0000 |
---|---|---|
committer | David Turner <david@freetype.org> | 2002-03-01 02:26:22 +0000 |
commit | bc82f1bbefa90c649a9ad2c28938d55b4acbf380 (patch) | |
tree | 4fda83b72ac4380036b4bbb01af77cee07ca4edb /src/cid | |
parent | 041889e763fa84eee20f15ef850fccc790294b67 (diff) | |
download | freetype2-bc82f1bbefa90c649a9ad2c28938d55b4acbf380.tar.gz |
* include/freetype/ftconfig.h: changed FT_LOCAL xxxx to FT_LOCAL( xxxx )
everywhere in the source. Sames goes for FT_LOCAL_DEF xxxx translated
into FT_LOCAL_DEF( xxxxx )
Diffstat (limited to 'src/cid')
-rw-r--r-- | src/cid/cidgload.c | 4 | ||||
-rw-r--r-- | src/cid/cidgload.h | 4 | ||||
-rw-r--r-- | src/cid/cidload.c | 6 | ||||
-rw-r--r-- | src/cid/cidload.h | 6 | ||||
-rw-r--r-- | src/cid/cidobjs.c | 18 | ||||
-rw-r--r-- | src/cid/cidobjs.h | 18 | ||||
-rw-r--r-- | src/cid/cidparse.c | 4 | ||||
-rw-r--r-- | src/cid/cidparse.h | 4 |
8 files changed, 32 insertions, 32 deletions
diff --git a/src/cid/cidgload.c b/src/cid/cidgload.c index 77b54e824..4ef73e01e 100644 --- a/src/cid/cidgload.c +++ b/src/cid/cidgload.c @@ -138,7 +138,7 @@ /*************************************************************************/ - FT_LOCAL_DEF FT_Error + FT_LOCAL_DEF( FT_Error ) CID_Compute_Max_Advance( CID_Face face, FT_Int* max_advance ) { @@ -201,7 +201,7 @@ /*************************************************************************/ - FT_LOCAL_DEF FT_Error + FT_LOCAL_DEF( FT_Error ) CID_Load_Glyph( CID_GlyphSlot glyph, CID_Size size, FT_Int glyph_index, diff --git a/src/cid/cidgload.h b/src/cid/cidgload.h index bfab08122..1ba59c211 100644 --- a/src/cid/cidgload.h +++ b/src/cid/cidgload.h @@ -30,13 +30,13 @@ FT_BEGIN_HEADER #if 0 /* Compute the maximum advance width of a font through quick parsing */ - FT_LOCAL FT_Error + FT_LOCAL( FT_Error ) CID_Compute_Max_Advance( CID_Face face, FT_Int* max_advance ); #endif /* 0 */ - FT_LOCAL FT_Error + FT_LOCAL( FT_Error ) CID_Load_Glyph( CID_GlyphSlot glyph, CID_Size size, FT_Int glyph_index, diff --git a/src/cid/cidload.c b/src/cid/cidload.c index 66d34b0ce..3df25b69b 100644 --- a/src/cid/cidload.c +++ b/src/cid/cidload.c @@ -41,7 +41,7 @@ /* read a single offset */ - FT_LOCAL_DEF FT_Long + FT_LOCAL_DEF( FT_Long ) cid_get_offset( FT_Byte** start, FT_Byte offsize ) { @@ -60,7 +60,7 @@ } - FT_LOCAL_DEF void + FT_LOCAL_DEF( void ) cid_decrypt( FT_Byte* buffer, FT_Offset length, FT_UShort seed ) @@ -515,7 +515,7 @@ } - FT_LOCAL_DEF FT_Error + FT_LOCAL_DEF( FT_Error ) CID_Open_Face( CID_Face face ) { CID_Loader loader; diff --git a/src/cid/cidload.h b/src/cid/cidload.h index 0b70657d6..bc3dbe6d6 100644 --- a/src/cid/cidload.h +++ b/src/cid/cidload.h @@ -36,16 +36,16 @@ FT_BEGIN_HEADER } CID_Loader; - FT_LOCAL FT_Long + FT_LOCAL( FT_Long ) cid_get_offset( FT_Byte** start, FT_Byte offsize ); - FT_LOCAL void + FT_LOCAL( void ) cid_decrypt( FT_Byte* buffer, FT_Offset length, FT_UShort seed ); - FT_LOCAL FT_Error + FT_LOCAL( FT_Error ) CID_Open_Face( CID_Face face ); diff --git a/src/cid/cidobjs.c b/src/cid/cidobjs.c index acec769e9..27b384b73 100644 --- a/src/cid/cidobjs.c +++ b/src/cid/cidobjs.c @@ -44,14 +44,14 @@ /* */ /*************************************************************************/ - FT_LOCAL_DEF void + FT_LOCAL_DEF( void ) CID_GlyphSlot_Done( CID_GlyphSlot slot ) { slot->root.internal->glyph_hints = 0; } - FT_LOCAL_DEF FT_Error + FT_LOCAL_DEF( FT_Error ) CID_GlyphSlot_Init( CID_GlyphSlot slot ) { CID_Face face; @@ -105,7 +105,7 @@ } - FT_LOCAL_DEF void + FT_LOCAL_DEF( void ) CID_Size_Done( CID_Size size ) { if ( size->root.internal ) @@ -122,7 +122,7 @@ } - FT_LOCAL_DEF FT_Error + FT_LOCAL_DEF( FT_Error ) CID_Size_Init( CID_Size size ) { FT_Error error = 0; @@ -146,7 +146,7 @@ } - FT_LOCAL_DEF FT_Error + FT_LOCAL_DEF( FT_Error ) CID_Size_Reset( CID_Size size ) { PSH_Globals_Funcs funcs = CID_Size_Get_Globals_Funcs( size ); @@ -182,7 +182,7 @@ /* <Input> */ /* face :: A pointer to the face object to destroy. */ /* */ - FT_LOCAL_DEF void + FT_LOCAL_DEF( void ) CID_Face_Done( CID_Face face ) { FT_Memory memory; @@ -262,7 +262,7 @@ /* <Return> */ /* FreeType error code. 0 means success. */ /* */ - FT_LOCAL_DEF FT_Error + FT_LOCAL_DEF( FT_Error ) CID_Face_Init( FT_Stream stream, CID_Face face, FT_Int face_index, @@ -511,7 +511,7 @@ /* <Return> */ /* FreeType error code. 0 means success. */ /* */ - FT_LOCAL_DEF FT_Error + FT_LOCAL_DEF( FT_Error ) CID_Driver_Init( CID_Driver driver ) { FT_UNUSED( driver ); @@ -531,7 +531,7 @@ /* <Input> */ /* driver :: A handle to the target CID driver. */ /* */ - FT_LOCAL_DEF void + FT_LOCAL_DEF( void ) CID_Driver_Done( CID_Driver driver ) { FT_UNUSED( driver ); diff --git a/src/cid/cidobjs.h b/src/cid/cidobjs.h index 19d52c277..5e4673f45 100644 --- a/src/cid/cidobjs.h +++ b/src/cid/cidobjs.h @@ -111,26 +111,26 @@ FT_BEGIN_HEADER } CID_GlyphSlotRec; - FT_LOCAL void + FT_LOCAL( void ) CID_GlyphSlot_Done( CID_GlyphSlot slot ); - FT_LOCAL FT_Error + FT_LOCAL( FT_Error ) CID_GlyphSlot_Init( CID_GlyphSlot slot ); - FT_LOCAL void + FT_LOCAL( void ) CID_Size_Done( CID_Size size ); - FT_LOCAL FT_Error + FT_LOCAL( FT_Error ) CID_Size_Init( CID_Size size ); - FT_LOCAL FT_Error + FT_LOCAL( FT_Error ) CID_Size_Reset( CID_Size size ); - FT_LOCAL FT_Error + FT_LOCAL( FT_Error ) CID_Face_Init( FT_Stream stream, CID_Face face, FT_Int face_index, @@ -138,15 +138,15 @@ FT_BEGIN_HEADER FT_Parameter* params ); - FT_LOCAL void + FT_LOCAL( void ) CID_Face_Done( CID_Face face ); - FT_LOCAL FT_Error + FT_LOCAL( FT_Error ) CID_Driver_Init( CID_Driver driver ); - FT_LOCAL void + FT_LOCAL( void ) CID_Driver_Done( CID_Driver driver ); diff --git a/src/cid/cidparse.c b/src/cid/cidparse.c index 2f4b08caa..df14bc3fb 100644 --- a/src/cid/cidparse.c +++ b/src/cid/cidparse.c @@ -50,7 +50,7 @@ /*************************************************************************/ - FT_LOCAL_DEF FT_Error + FT_LOCAL_DEF( FT_Error ) CID_New_Parser( CID_Parser* parser, FT_Stream stream, FT_Memory memory, @@ -139,7 +139,7 @@ } - FT_LOCAL_DEF void + FT_LOCAL_DEF( void ) CID_Done_Parser( CID_Parser* parser ) { /* always free the private dictionary */ diff --git a/src/cid/cidparse.h b/src/cid/cidparse.h index 7f8b2ecd3..df56b6ccf 100644 --- a/src/cid/cidparse.h +++ b/src/cid/cidparse.h @@ -71,13 +71,13 @@ FT_BEGIN_HEADER } CID_Parser; - FT_LOCAL FT_Error + FT_LOCAL( FT_Error ) CID_New_Parser( CID_Parser* parser, FT_Stream stream, FT_Memory memory, PSAux_Service psaux ); - FT_LOCAL void + FT_LOCAL( void ) CID_Done_Parser( CID_Parser* parser ); |