wiki.icculus.org
[ front page | index | search | recent changes | git repo | offline html ]

PHYSFS_freeList

Deallocate resources of lists returned by PhysicsFS.

Header File

Defined in <physfs.h>

Syntax

void PHYSFS_freeList(void *listVar);

Function Parameters

void * listVar List of information specified as freeable by this function. May be NULL.

Remarks

Certain PhysicsFS functions return lists of information that are dynamically allocated. Use this function to free those resources.

It is safe to pass a NULL here, but doing so will cause a crash in versions before PhysicsFS 2.1.0.

Thread Safety

It is safe to call this function from any thread.

Version

This function is available since PhysicsFS 1.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryPhysicsFS


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.