81 *
82 * table_add ::
83 * Adds a new object to a table.
84 *
85 * table_release ::
86 * Releases table data, then finalizes it.
87 */
88 typedef struct PS_Table_FuncsRec_
89 {
90 FT_Error
91 (*init)( PS_Table table,
92 FT_Int count,
93 FT_Memory memory );
94
95 void
96 (*done)( PS_Table table );
97
98 FT_Error
99 (*add)( PS_Table table,
100 FT_Int idx,
101 void* object,
102 FT_UInt length );
103
104 void
105 (*release)( PS_Table table );
106
107 } PS_Table_FuncsRec;
108
109
110 /**************************************************************************
111 *
112 * @struct:
113 * PS_TableRec
114 *
115 * @description:
116 * A PS_Table is a simple object used to store an array of objects in a
117 * single memory block.
118 *
119 * @fields:
120 * block ::
121 * The address in memory of the growheap's block. This can change
|
81 *
82 * table_add ::
83 * Adds a new object to a table.
84 *
85 * table_release ::
86 * Releases table data, then finalizes it.
87 */
88 typedef struct PS_Table_FuncsRec_
89 {
90 FT_Error
91 (*init)( PS_Table table,
92 FT_Int count,
93 FT_Memory memory );
94
95 void
96 (*done)( PS_Table table );
97
98 FT_Error
99 (*add)( PS_Table table,
100 FT_Int idx,
101 const void* object,
102 FT_UInt length );
103
104 void
105 (*release)( PS_Table table );
106
107 } PS_Table_FuncsRec;
108
109
110 /**************************************************************************
111 *
112 * @struct:
113 * PS_TableRec
114 *
115 * @description:
116 * A PS_Table is a simple object used to store an array of objects in a
117 * single memory block.
118 *
119 * @fields:
120 * block ::
121 * The address in memory of the growheap's block. This can change
|