HTML Tidy  5.9.15
The HTACG Tidy HTML Project
tidyplatform.h File Reference

Detailed Description

Platform specific definitions, specifics, and headers.

This file is included by tidy.h already, and need not be included separately. Among other things, the PLATFORM_NAME is defined and the most common systems headers are included.

Note
It should be largely unnecessary to modify this file unless adding support for a completely new architecture. Most options defined in this file specify defaults that can be overridden by the build system; for example, passing -D flags to CMake.
Author
Charles Reitzel [creit.nosp@m.zel@.nosp@m.rcn.c.nosp@m.om]
HTACG, et al (consult git log)
Date
Created 2001-05-20 by Charles Reitzel
Updated 2002-07-01 by Charles Reitzel
Further modifications: consult git log.

Go to the source code of this file.

Macros

#define ARG_UNUSED(x)   x
 
#define FILENAMES_CASE_SENSITIVE   1
 
#define FUNC_UNUSED
 
#define HAS_FUTIME   1
 
#define HAS_VSNPRINTF   1
 
#define NULLSTR   (tmbstr)""
 
#define opaque_type(typenam)
 
#define PRESERVE_FILE_TIMES   1
 
#define SUPPORT_LOCALIZATIONS   1
 
#define SUPPORT_POSIX_MAPPED_FILES   1
 
#define TIDY_CALL
 
#define TIDY_INDENTATION_LIMIT   50
 
#define TIDY_STRUCT
 
#define TIDY_THREAD_LOCAL   __thread
 
#define TMBSTR_DEFINED
 
#define UTIME_NEEDS_CLOSED_FILE   0
 

Typedefs

typedef unsigned char byte
 
typedef const tmbcharctmbstr
 
typedef uint tchar
 
typedef char tmbchar
 
typedef tmbchartmbstr
 
typedef unsigned int uint
 

Enumerations

enum  Bool {
  no ,
  yes
}
 

Functions

 opaque_type (TidyIterator)
 

Macro Definition Documentation

◆ ARG_UNUSED

#define ARG_UNUSED (   x)    x

◆ FILENAMES_CASE_SENSITIVE

#define FILENAMES_CASE_SENSITIVE   1

◆ FUNC_UNUSED

#define FUNC_UNUSED

◆ HAS_FUTIME

#define HAS_FUTIME   1

◆ HAS_VSNPRINTF

#define HAS_VSNPRINTF   1

◆ NULLSTR

#define NULLSTR   (tmbstr)""

◆ opaque_type

#define opaque_type (   typenam)
Value:
struct _##typenam { int _opaque; };\
typedef struct _##typenam const * typenam

◆ PRESERVE_FILE_TIMES

#define PRESERVE_FILE_TIMES   1

◆ SUPPORT_LOCALIZATIONS

#define SUPPORT_LOCALIZATIONS   1

◆ SUPPORT_POSIX_MAPPED_FILES

#define SUPPORT_POSIX_MAPPED_FILES   1

◆ TIDY_CALL

#define TIDY_CALL

◆ TIDY_INDENTATION_LIMIT

#define TIDY_INDENTATION_LIMIT   50

◆ TIDY_STRUCT

#define TIDY_STRUCT

◆ TIDY_THREAD_LOCAL

#define TIDY_THREAD_LOCAL   __thread

◆ TMBSTR_DEFINED

#define TMBSTR_DEFINED

◆ UTIME_NEEDS_CLOSED_FILE

#define UTIME_NEEDS_CLOSED_FILE   0

Typedef Documentation

◆ byte

typedef unsigned char byte

◆ ctmbstr

typedef const tmbchar* ctmbstr

◆ tchar

typedef uint tchar

◆ tmbchar

typedef char tmbchar

◆ tmbstr

typedef tmbchar* tmbstr

◆ uint

typedef unsigned int uint

Enumeration Type Documentation

◆ Bool

enum Bool
Enumerator
no 
yes 

Function Documentation

◆ opaque_type()

opaque_type ( TidyIterator  )