Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Side by Side Diff: src/base/ftpic.c

Issue 89753003: Update freetype to latest version of ASOP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/base/ftoutln.c ('k') | src/base/ftrfork.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /***************************************************************************/ 1 /***************************************************************************/
2 /* */ 2 /* */
3 /* ftpic.c */ 3 /* ftpic.c */
4 /* */ 4 /* */
5 /* The FreeType position independent code services (body). */ 5 /* The FreeType position independent code services (body). */
6 /* */ 6 /* */
7 /* Copyright 2009 by */ 7 /* Copyright 2009 by */
8 /* Oran Agra and Mickey Gabel. */ 8 /* Oran Agra and Mickey Gabel. */
9 /* */ 9 /* */
10 /* This file is part of the FreeType project, and may only be used, */ 10 /* This file is part of the FreeType project, and may only be used, */
(...skipping 11 matching lines...) Expand all
22 #include "basepic.h" 22 #include "basepic.h"
23 23
24 #ifdef FT_CONFIG_OPTION_PIC 24 #ifdef FT_CONFIG_OPTION_PIC
25 25
26 /* documentation is in ftpic.h */ 26 /* documentation is in ftpic.h */
27 27
28 FT_BASE_DEF( FT_Error ) 28 FT_BASE_DEF( FT_Error )
29 ft_pic_container_init( FT_Library library ) 29 ft_pic_container_init( FT_Library library )
30 { 30 {
31 FT_PIC_Container* pic_container = &library->pic_container; 31 FT_PIC_Container* pic_container = &library->pic_container;
32 FT_Error error = FT_Err_Ok; 32 FT_Error error = FT_Err_Ok;
33
33 34
34 FT_MEM_SET( pic_container, 0, sizeof ( *pic_container ) ); 35 FT_MEM_SET( pic_container, 0, sizeof ( *pic_container ) );
35 36
36 error = ft_base_pic_init( library ); 37 error = ft_base_pic_init( library );
37 if ( error ) 38 if ( error )
38 return error; 39 return error;
39 40
40 return FT_Err_Ok; 41 return FT_Err_Ok;
41 } 42 }
42 43
43 44
44 /* Destroy the contents of the container. */ 45 /* Destroy the contents of the container. */
45 FT_BASE_DEF( void ) 46 FT_BASE_DEF( void )
46 ft_pic_container_destroy( FT_Library library ) 47 ft_pic_container_destroy( FT_Library library )
47 { 48 {
48 ft_base_pic_free( library ); 49 ft_base_pic_free( library );
49 } 50 }
50 51
51 #endif /* FT_CONFIG_OPTION_PIC */ 52 #endif /* FT_CONFIG_OPTION_PIC */
52 53
53 54
54 /* END */ 55 /* END */
OLDNEW
« no previous file with comments | « src/base/ftoutln.c ('k') | src/base/ftrfork.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698