• Show log

    Commit

  • Hash : c58ce3be
    Author : Werner Lemberg
    Date : 2013-03-13T11:06:39

    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.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/freetype.git
    Git SSH git@git.kmx.io:kc3-lang/freetype.git
    Public access ? public
    Description
    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags