1
/***************************************************************************/
5
/* The FreeType position independent code services (body). */
7
/* Copyright 2009 by */
8
/* Oran Agra and Mickey Gabel. */
10
/* This file is part of the FreeType project, and may only be used, */
11
/* modified, and distributed under the terms of the FreeType project */
12
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13
/* this file you indicate that you have read the license and */
14
/* understand and accept it fully. */
16
/***************************************************************************/
20
#include FT_FREETYPE_H
21
#include FT_INTERNAL_OBJECTS_H
24
#ifdef FT_CONFIG_OPTION_PIC
26
/* documentation is in ftpic.h */
28
FT_BASE_DEF( FT_Error )
29
ft_pic_container_init( FT_Library library )
31
FT_PIC_Container* pic_container = &library->pic_container;
32
FT_Error error = FT_Err_Ok;
34
FT_MEM_SET( pic_container, 0, sizeof(*pic_container) );
36
error = ft_base_pic_init( library );
44
/* Destroy the contents of the container. */
46
ft_pic_container_destroy( FT_Library library )
48
ft_base_pic_free( library );
51
#endif /* FT_CONFIG_OPTION_PIC */