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

PHYSFS_swapSLE16

Swap littleendian signed 16 to platform's native byte order.

Header File

Defined in <physfs.h>

Syntax

PHYSFS_sint16 PHYSFS_swapSLE16(PHYSFS_sint16 val);

Function Parameters

PHYSFS_sint16 val value to convert.

Return Value

(PHYSFS_sint16) Returns converted value.

Remarks

Take a 16-bit signed value in littleendian format and convert it to the platform's native byte order.

Thread Safety

It is safe to call this function from any thread.

Version

This function is available since PhysicsFS 1.0.0.


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.