Content-type: text/html
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.
FreeType error code. 0 means success. FT_BASE( FT_Error ) FT_Alloc( FT_Memory memory, FT_Long size, void* *P );
This documentation was generated for Freetype 2.0.4 by autodocbook (http://www.stillhq.com). Autodocbook is (c) Michael Still 2001.
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.
Please report errors in this documentation, and Freetype itself to freetype@freetype.org