new
Creating an object. The function creates an object of the specified type.
func uint new (
uint objtype
)
uint objtype
)
Parameters
objtype | The identifier or the name of a type. |
Return value
The pointer to the created object.
new
The function creates an object with specifing the count and the type of its items.
func uint new (
uint objtype,
uint oftype,
uint count
)
uint objtype,
uint oftype,
uint count
)
Parameters
objtype | The identifier or the name of a type. |
oftype | The type of object's items. |
count | The initial count of object's items. |
Return value
The pointer to the created object.
Related links | Source |