raylib/src
Ahmad Fatoum 6ffc8cb799
raymath.h: Use C99 inline semantics
RAYMATH_EXTERN_INLINE was renamed to RAYMATH_HEADER_ONLY, which user code
may define if they want to use it as header-only library. If multiple
files in the same project define RAYMATH_HEADER_ONLY, they might each
have duplicate out-of-line definitions of the same functions.

By default, raymath.h exposes inline definitions, which instructs the
compiler _not_ to generate out-of-line definitons, if out-of-line
definitions are required, those of the file defined with
RAYLIB_IMPLEMENTATION are used instead. There may be only one such file.

In C++ mode, the compiler will select only one out-of-line definition
automatically, so no need to define a RAYLIB_IMPLEMENTATION.

Unfortunately, we have to remove raymath function declaration from
raylib.h as those declarations would lead to duplicate out-of-line
definitions which would yield linker errors. This problem didn't
exist with GNU89 or C++, because there multiple defintions are ok,
but in C99 they aren't.
2018-02-24 15:37:37 +01:00
..
external Reviewed timming system for macOS 2018-02-20 10:30:51 +01:00
audio.c Corrected masteVolume setting 2018-02-11 01:28:30 +01:00
audio.h Force OpenAL backend on some platforms 2017-12-20 12:34:18 +01:00
camera.h Some comment tweaks 2017-05-08 21:16:46 +02:00
CMakeLists.txt CMake: Remove _RAYLIB suffix from -D{SHARED,STATIC}_RAYLIB 2018-02-16 05:58:18 +01:00
core.c raymath.h: Use C99 inline semantics 2018-02-24 15:37:37 +01:00
easings.h Working on file header comments... 2017-03-19 12:52:58 +01:00
gestures.h Updated copyright year 2017-12-20 12:37:08 +01:00
Makefile Removed flag -fgnu89-inline 2018-02-21 23:28:34 +01:00
models.c Support 4 components mesh.tangent data 2018-02-24 12:31:32 +01:00
physac.h #include header for time() on Windows 2018-01-25 23:12:03 +01:00
raylib.h raymath.h: Use C99 inline semantics 2018-02-24 15:37:37 +01:00
raylib.ico Added resource config file 2017-10-22 11:07:17 +02:00
raylib.rc Added resource config file 2017-10-22 11:07:17 +02:00
raymath.h raymath.h: Use C99 inline semantics 2018-02-24 15:37:37 +01:00
resources Added resource config file 2017-10-22 11:07:17 +02:00
rglfw.c Some formatting tweaks 2017-12-24 16:12:52 +01:00
rlgl.c Support 4 components mesh.tangent data 2018-02-24 12:31:32 +01:00
rlgl.h Support 4 components mesh.tangent data 2018-02-24 12:31:32 +01:00
shader_distortion.h Review default shaders usage on loading 2017-11-12 10:33:44 +01:00
shapes.c Added function DrawRectangleLinesEx() 2018-02-02 11:01:38 +01:00
text.c Support UTF8 basic characters on ImageTextEx() 2018-02-18 18:07:57 +01:00
textures.c Added comments to review function ImageTextEx() 2018-02-18 19:29:13 +01:00
utils.c Renamed function to SetTraceLog() 2017-12-24 16:49:54 +01:00
utils.h Updated copyright year 2017-12-20 12:37:08 +01:00