aboutsummaryrefslogtreecommitdiff
path: root/freetype/include/freetype/ftmodapi.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-08-20 07:57:52 +0000
committermarha <marha@users.sourceforge.net>2010-08-20 07:57:52 +0000
commit00666832a756014eef48c4f5bd8484cc1299bdf0 (patch)
tree6cdcf53e663300699a7e96fe58010600eb7badf3 /freetype/include/freetype/ftmodapi.h
parent0ef233ddca61b9f3c72aa5f806ee818348f3aa20 (diff)
downloadvcxsrv-00666832a756014eef48c4f5bd8484cc1299bdf0.tar.gz
vcxsrv-00666832a756014eef48c4f5bd8484cc1299bdf0.tar.bz2
vcxsrv-00666832a756014eef48c4f5bd8484cc1299bdf0.zip
Updated to freetype 2.4.2
Diffstat (limited to 'freetype/include/freetype/ftmodapi.h')
-rw-r--r--freetype/include/freetype/ftmodapi.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/freetype/include/freetype/ftmodapi.h b/freetype/include/freetype/ftmodapi.h
index 17868b2f8..8f2e01794 100644
--- a/freetype/include/freetype/ftmodapi.h
+++ b/freetype/include/freetype/ftmodapi.h
@@ -252,6 +252,33 @@ FT_BEGIN_HEADER
/*************************************************************************/
/* */
/* <Function> */
+ /* FT_Reference_Library */
+ /* */
+ /* <Description> */
+ /* A counter gets initialized to~1 at the time an @FT_Library */
+ /* structure is created. This function increments the counter. */
+ /* @FT_Done_Library then only destroys a library if the counter is~1, */
+ /* otherwise it simply decrements the counter. */
+ /* */
+ /* This function helps in managing life-cycles of structures which */
+ /* reference @FT_Library objects. */
+ /* */
+ /* <Input> */
+ /* library :: A handle to a target library object. */
+ /* */
+ /* <Return> */
+ /* FreeType error code. 0~means success. */
+ /* */
+ /* <Since> */
+ /* 2.4.2 */
+ /* */
+ FT_EXPORT( FT_Error )
+ FT_Reference_Library( FT_Library library );
+
+
+ /*************************************************************************/
+ /* */
+ /* <Function> */
/* FT_New_Library */
/* */
/* <Description> */
@@ -275,6 +302,10 @@ FT_BEGIN_HEADER
/* <Return> */
/* FreeType error code. 0~means success. */
/* */
+ /* <Note> */
+ /* See the discussion of reference counters in the description of */
+ /* @FT_Reference_Library. */
+ /* */
FT_EXPORT( FT_Error )
FT_New_Library( FT_Memory memory,
FT_Library *alibrary );
@@ -295,6 +326,10 @@ FT_BEGIN_HEADER
/* <Return> */
/* FreeType error code. 0~means success. */
/* */
+ /* <Note> */
+ /* See the discussion of reference counters in the description of */
+ /* @FT_Reference_Library. */
+ /* */
FT_EXPORT( FT_Error )
FT_Done_Library( FT_Library library );