Content-type: text/html Manpage of FT_Alloc

FT_Alloc

Section: Misc. Reference Manual Pages (3)
Index Return to Main Contents
 

NAME

FT_Alloc  

DESCRIPTION

Allocates a new block of memory. The returned area is always zero-filled; this is a strong convention in many FreeType parts.

Input:

memory :: A handle to a given `memory object' which handles allocation.

size :: The size in bytes of the block to allocate.

Output:

P :: A pointer to the fresh new block. It should be set to NULL if `size' is 0, or in case of error.  

RETURNS

FreeType error code. 0 means success. FT_BASE( FT_Error ) FT_Alloc( FT_Memory memory, FT_Long size, void* *P );  

VERSION

This documentation was generated for Freetype 2.0.4 by autodocbook (http://www.stillhq.com). Autodocbook is (c) Michael Still 2001.
      

AUTHOR

Copyright 1996-2000 by David Turner, Robert Wilhelm, and Werner Lemberg.
    

This file is part of the FreeType project, and may only be used, modified, and distributed under the terms of the FreeType project license, LICENSE.TXT. By continuing to use, modify, or distribute this file you indicate that you have read the license and understand and accept it fully.  

BUGS

Please report errors in this documentation, and Freetype itself to freetype@freetype.org


 

Index

NAME
DESCRIPTION
RETURNS
VERSION
AUTHOR
BUGS

This document was created by man2html, using the manual pages.
Time: 04:44:35 GMT, July 26, 2001