Formatting, CR/LF issues.

This commit is contained in:
Werner Lemberg 2005-10-18 06:09:13 +00:00
parent 6d24acb9a5
commit 8e6c56f99e
3 changed files with 625 additions and 620 deletions

View File

@ -1,15 +1,16 @@
2005-10-17 David Turner <david@freetype.org> 2005-10-17 David Turner <david@freetype.org>
* src/base/ftobjs.c (FT_Open_Face): don't call FT_New_GlyphSlot and * src/base/ftobjs.c (FT_Open_Face): Don't call FT_New_GlyphSlot and
FT_New_Size if we're opening a face with face_index < 0 (which is only FT_New_Size if we are opening a face with face_index < 0 (which is
used for testing the format). only used for testing the format).
* src/gxvalid/gxvmort0.c: removed compiler warning * src/gxvalid/gxvmort0.c (gxv_mort_subtable_type0_entry_validate):
Remove compiler warning.
2005-10-16 David Turner <david@freetype.org> 2005-10-16 David Turner <david@freetype.org>
* src/tools/apinames.c: adding new tool to extract public API * src/tools/apinames.c: Add new tool to extract public API function
function names from header files names from header files.
2005-10-05 Werner Lemberg <wl@gnu.org> 2005-10-05 Werner Lemberg <wl@gnu.org>

12
Jamfile
View File

@ -60,14 +60,14 @@ FT2_LIB ?= $(LIBPREFIX)freetype ;
# Define FT2_BUILD_INCLUDE to point to your build-specific directory. # Define FT2_BUILD_INCLUDE to point to your build-specific directory.
# This is prepended to FT2_INCLUDE_DIR. It can be used to specify # This is prepended to FT2_INCLUDE_DIR. It can be used to specify
# the location of a custom <ft2build.h> which will point to custom # the location of a custom <ft2build.h> which will point to custom
# versions of "ftmodule.h" and "ftoption.h", for example. # versions of `ftmodule.h' and `ftoption.h', for example.
# #
FT2_BUILD_INCLUDE ?= ; FT2_BUILD_INCLUDE ?= ;
# The list of modules to compile on any given build of the library. # The list of modules to compile on any given build of the library.
# By default, this will contain _all_ modules defined in FT2_SRC_DIR. # By default, this will contain _all_ modules defined in FT2_SRC_DIR.
# #
# IMPORTANT: You'll need to change the content of "ftmodule.h" as well # IMPORTANT: You'll need to change the content of `ftmodule.h' as well
# if you modify this list or provide your own. # if you modify this list or provide your own.
# #
FT2_COMPONENTS ?= autofit # auto-fitter FT2_COMPONENTS ?= autofit # auto-fitter
@ -122,7 +122,7 @@ if $(DEBUG_HINTER)
} }
# We need "freetype2/include" in the current include path in order to # We need `freetype2/include' in the current include path in order to
# compile any part of FreeType 2. # compile any part of FreeType 2.
# #
HDRS += $(FT2_INCLUDE) ; HDRS += $(FT2_INCLUDE) ;
@ -143,13 +143,13 @@ HDRMACRO [ FT2_SubDir include freetype config ftheader.h ] ;
HDRMACRO [ FT2_SubDir include freetype internal internal.h ] ; HDRMACRO [ FT2_SubDir include freetype internal internal.h ] ;
# Now include the Jamfile in "freetype2/src", used to drive the compilation # Now include the Jamfile in `freetype2/src', used to drive the compilation
# of each FreeType 2 component and/or module. # of each FreeType 2 component and/or module.
# #
SubInclude FT2_TOP $(FT2_SRC_DIR) ; SubInclude FT2_TOP $(FT2_SRC_DIR) ;
# handle the generation of the "ftexport.sym" file which contain the list # Handle the generation of the `ftexport.sym' file which contain the list
# of exported symbols. This can be used on Unix by libtool # of exported symbols. This can be used on Unix by libtool.
# #
SubInclude FT2_TOP $(FT2_SRC_DIR) tools ; SubInclude FT2_TOP $(FT2_SRC_DIR) tools ;

View File

@ -1,17 +1,21 @@
/* this little program is used to parse the FreeType headers and /*
* This little program is used to parse the FreeType headers and
* find the declaration of all public API. This is easy, because * find the declaration of all public API. This is easy, because
* they all look like the following: * they all look like the following:
* *
* FT_EXPORT( return_type ) * FT_EXPORT( return_type )
* function_name( function arguments ); * function_name( function arguments );
* *
* you must pass it the list of header files as arguments, wildcards * You must pass the list of header files as arguments. Wildcards are
* accepted if you're using GCC on Windows * accepted if you are using GCC for compilation (and probably by
* other compilers too).
* *
* Author: David Turner * Author: David Turner, 2005
*
* This code is explicitly placed into the public domain.
* *
* This code is explicitely placed in the public domain
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>