freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] Decorate const arguments.


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] Decorate const arguments.
Date: Sun, 22 Aug 2021 17:17:52 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

2 changed files:

Changes:

  • include/freetype/ftglyph.h
    ... ... @@ -337,9 +337,9 @@ FT_BEGIN_HEADER
    337 337
        *   vector.
    
    338 338
        */
    
    339 339
       FT_EXPORT( FT_Error )
    
    340
    -  FT_Glyph_Transform( FT_Glyph    glyph,
    
    341
    -                      FT_Matrix*  matrix,
    
    342
    -                      FT_Vector*  delta );
    
    340
    +  FT_Glyph_Transform( FT_Glyph          glyph,
    
    341
    +                      const FT_Matrix*  matrix,
    
    342
    +                      const FT_Vector*  delta );
    
    343 343
     
    
    344 344
     
    
    345 345
       /**************************************************************************
    
    ... ... @@ -569,10 +569,10 @@ FT_BEGIN_HEADER
    569 569
        *   ```
    
    570 570
        */
    
    571 571
       FT_EXPORT( FT_Error )
    
    572
    -  FT_Glyph_To_Bitmap( FT_Glyph*       the_glyph,
    
    573
    -                      FT_Render_Mode  render_mode,
    
    574
    -                      FT_Vector*      origin,
    
    575
    -                      FT_Bool         destroy );
    
    572
    +  FT_Glyph_To_Bitmap( FT_Glyph*         the_glyph,
    
    573
    +                      FT_Render_Mode    render_mode,
    
    574
    +                      const FT_Vector*  origin,
    
    575
    +                      FT_Bool           destroy );
    
    576 576
     
    
    577 577
     
    
    578 578
       /**************************************************************************
    

  • src/base/ftglyph.c
    ... ... @@ -453,9 +453,9 @@
    453 453
       /* documentation is in ftglyph.h */
    
    454 454
     
    
    455 455
       FT_EXPORT_DEF( FT_Error )
    
    456
    -  FT_Glyph_Transform( FT_Glyph    glyph,
    
    457
    -                      FT_Matrix*  matrix,
    
    458
    -                      FT_Vector*  delta )
    
    456
    +  FT_Glyph_Transform( FT_Glyph          glyph,
    
    457
    +                      const FT_Matrix*  matrix,
    
    458
    +                      const FT_Vector*  delta )
    
    459 459
       {
    
    460 460
         FT_Error  error = FT_Err_Ok;
    
    461 461
     
    
    ... ... @@ -533,10 +533,10 @@
    533 533
       /* documentation is in ftglyph.h */
    
    534 534
     
    
    535 535
       FT_EXPORT_DEF( FT_Error )
    
    536
    -  FT_Glyph_To_Bitmap( FT_Glyph*       the_glyph,
    
    537
    -                      FT_Render_Mode  render_mode,
    
    538
    -                      FT_Vector*      origin,
    
    539
    -                      FT_Bool         destroy )
    
    536
    +  FT_Glyph_To_Bitmap( FT_Glyph*         the_glyph,
    
    537
    +                      FT_Render_Mode    render_mode,
    
    538
    +                      const FT_Vector*  origin,
    
    539
    +                      FT_Bool           destroy )
    
    540 540
       {
    
    541 541
         FT_GlyphSlotRec           dummy;
    
    542 542
         FT_GlyphSlot_InternalRec  dummy_internal;
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]