freetype2/include/freetype/internal
Werner Lemberg c58ce3beee Introduce `FT_THROW' macro.
The idea is to replace code like

  return FT_Err_Foo_Bar;

or

  return CFF_Err_Foo_Bar;

with

  return FT_THROW( Foo_Bar );

The FT_THROW macro has two functions:

  . It hides the module specific prefix.

  . In debug mode, it calls the empty function `FT_Throw' which can
    be thus used to set a breakpoint.

* include/freetype/internal/ftdebug.h (FT_THROW): New macro.
(FT_Throw): New prototype.
* src/base/ftdebug.c (FT_Throw): New function.
2013-03-13 11:06:39 +01:00
..
services Use `FT_Module' instead of `FT_Library' argument in property funcs. 2012-09-15 09:10:06 +02:00
autohint.h [autofit] Some macro and variable renamings for orthogonality. 2012-08-27 06:57:05 +02:00
ftcalc.h Remove trailing whitespace. 2013-01-24 13:33:06 +01:00
ftdebug.h Introduce `FT_THROW' macro. 2013-03-13 11:06:39 +01:00
ftdriver.h [FT_CONFIG_OPTION_PIC] Fix g++ 4.6.2 compiler warnings. 2012-08-27 11:23:41 +02:00
ftgloadr.h Prevent the overflows by a glyph with too many points or contours. 2009-07-08 14:52:11 +09:00
ftmemory.h Fix type-punning issues with C++. 2010-07-12 20:57:54 +02:00
ftobjs.h [FT_CONFIG_OPTION_PIC] Fix g++ 4.6.2 compiler warnings. 2012-08-27 11:23:41 +02:00
ftpic.h Formatting, comment fixes. 2012-07-29 13:15:53 +02:00
ftrfork.h Formatting, comment fixes. 2012-07-29 13:15:53 +02:00
ftserv.h Various compiler warning fixes. 2012-12-17 09:08:09 +01:00
ftstream.h Fix reading of signed integers from files on 64bit platforms. 2011-04-12 09:26:43 +02:00
fttrace.h [psaux] Fix some value overflows and improve tracing. 2012-10-20 11:27:25 +02:00
ftvalid.h 2006-10-03 Jens Claudius <jens.claudius@yahoo.com> 2006-10-03 08:53:37 +00:00
internal.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
psaux.h [type1] Fix handling of /FontBBox in MM fonts. 2012-12-23 21:14:37 +01:00
pshints.h Formatting, comment fixes. 2012-07-29 13:15:53 +02:00
sfnt.h Formatting, comment fixes. 2012-07-29 13:15:53 +02:00
t1types.h Add FT_Get_PS_Font_Value() API. 2011-11-13 16:30:59 +01:00
tttypes.h Formatting, comment improvements. 2013-01-28 13:56:23 +01:00