Formatting; minor improvements.

This commit is contained in:
Werner Lemberg 2000-05-30 16:49:14 +00:00
parent 026bd17b41
commit f13e6333f9
4 changed files with 519 additions and 456 deletions

View File

@ -98,7 +98,7 @@
/* UNUSED is a macro used to indicate that a given parameter is not used */
/* this is only used to get rid of unpleasant compiler warnings.. */
#ifndef UNUSED
#define UNUSED( arg ) ( (arg)=(arg) )
#define UNUSED( arg ) ( (void)(arg)=(arg) )
#endif

View File

@ -260,7 +260,7 @@
/* bytecode interpreter. */
/* */
/* <Input> */
/* l :: 64-bit integer */
/* l :: A 64-bit integer. */
/* */
/* <Return> */
/* The 32-bit square-root. */

View File

@ -24,6 +24,7 @@
/* */
/*************************************************************************/
#include <freetype/internal/ftextend.h>
/* required by the tracing mode */
@ -114,8 +115,9 @@
/* <Return> */
/* FreeType error code. 0 means success. */
/* */
FT_EXPORT_FUNC(FT_Error) FT_Register_Extension( FT_Driver driver,
FT_Extension_Class* class )
FT_EXPORT_FUNC( FT_Error ) FT_Register_Extension(
FT_Driver driver,
FT_Extension_Class* class )
{
FT_Extension_Registry* registry;
@ -162,9 +164,10 @@
/* <Return> */
/* A pointer to the extension block. */
/* */
FT_EXPORT_FUNC(void*) FT_Get_Extension( FT_Face face,
const char* extension_id,
void* *extension_interface )
FT_EXPORT_FUNC( void* ) FT_Get_Extension(
FT_Face face,
const char* extension_id,
void* *extension_interface )
{
FT_Extension_Registry* registry;

File diff suppressed because it is too large Load Diff