summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2018-09-03 22:43:39 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2018-09-03 22:43:39 -0400
commit6a4229c4b0b5ce9f0e6ad420e7a504c6ad99acf4 (patch)
treedffe812220583bf7e075ec05e52ebcbfd7a7b178 /docs
parent7da5589c75457e86ca5144c297834a0c2dff6721 (diff)
downloadfreetype2-6a4229c4b0b5ce9f0e6ad420e7a504c6ad99acf4.tar.gz
* docs/DEBUG: s/trace_//.
Diffstat (limited to 'docs')
-rw-r--r--docs/DEBUG19
1 files changed, 9 insertions, 10 deletions
diff --git a/docs/DEBUG b/docs/DEBUG
index 751eaf028..57f49dc5c 100644
--- a/docs/DEBUG
+++ b/docs/DEBUG
@@ -88,14 +88,13 @@ debugging its code:
for example as in
#undef FT_COMPONENT
- #define FT_COMPONENT trace_io
-
- The value of the FT_COMPONENT macro is an enumeration named
- `trace_XXXX' where `XXXX' is one of the component names defined in
- the internal file `internal/fttrace.h'. If you modify FreeType
- source and insert new `trace_XXXX' macro, you must register it in
- `fttrace.h'. If you insert or remove many trace macros, you can
- check the undefined or the unused trace macro by
+ #define FT_COMPONENT io
+
+ The value of the FT_COMPONENT macro is one of the component
+ names defined in the internal file `internal/fttrace.h'. If you
+ modify FreeType source and insert new FT_COMPONENT macro, you must
+ register it in `fttrace.h'. If you insert or remove many trace
+ macros, you can check the undefined or the unused trace macro by
`src/tools/chktrcmp.py'.
Each such component is assigned a `debug level', ranging from 0 to
@@ -138,8 +137,8 @@ behaviour of FreeType at runtime.
component1:level1 component2:level2 component3:level3 ...
where `componentX' is the name of a tracing component, as defined
- in `fttrace.h', but without the `trace_' prefix. `levelX' is the
- corresponding level to use at runtime.
+ in `fttrace.h'. `levelX' is the corresponding level to use at
+ runtime.
`any' is a special component name that will be interpreted as
`any/all components'. For example, the following definitions