From 7c24e9a9b02b04dcaf9507acb94091ea70a2c02d Mon Sep 17 00:00:00 2001 From: Xavi Del Campo Date: Fri, 31 Jan 2020 10:32:23 +0100 Subject: Imported pristine psxsdk-20190410 from official repo --- libfixmath/fixmath/uint32.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 libfixmath/fixmath/uint32.h (limited to 'libfixmath/fixmath/uint32.h') diff --git a/libfixmath/fixmath/uint32.h b/libfixmath/fixmath/uint32.h new file mode 100755 index 0000000..1303338 --- /dev/null +++ b/libfixmath/fixmath/uint32.h @@ -0,0 +1,19 @@ +#ifndef __libfixmath_uint32_h__ +#define __libfixmath_uint32_h__ + +#ifdef __cplusplus +extern "C" +{ +#endif + +#include + +/*! Performs an unsigned log-base2 on the specified unsigned integer and returns the result. +*/ +extern uint32_t uint32_log2(uint32_t inVal); + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.3