浏览代码

Review functions modifiers

pull/1092/head
raysan5 5 年前
父节点
当前提交
fe0d04c879
共有 1 个文件被更改,包括 9 次插入7 次删除
  1. +9
    -7
      src/rlgl.h

+ 9
- 7
src/rlgl.h 查看文件

@ -64,13 +64,15 @@
#if defined(RLGL_STANDALONE) #if defined(RLGL_STANDALONE)
#define RAYMATH_STANDALONE #define RAYMATH_STANDALONE
#define RAYMATH_HEADER_ONLY #define RAYMATH_HEADER_ONLY
#if defined(_WIN32) && defined(BUILD_LIBTYPE_SHARED)
#define RLAPI __declspec(dllexport) // We are building raylib as a Win32 shared library (.dll)
#elif defined(_WIN32) && defined(USE_LIBTYPE_SHARED)
#define RLAPI __declspec(dllimport) // We are using raylib as a Win32 shared library (.dll)
#else
#define RLAPI // We are building or using raylib as a static library (or Linux shared library)
#define RLAPI // We are building or using rlgl as a static library (or Linux shared library)
#if defined(_WIN32)
#if defined(BUILD_LIBTYPE_SHARED)
#define RLAPI __declspec(dllexport) // We are building raylib as a Win32 shared library (.dll)
#elif defined(USE_LIBTYPE_SHARED)
#define RLAPI __declspec(dllimport) // We are using raylib as a Win32 shared library (.dll)
#endif
#endif #endif
// Allow custom memory allocators // Allow custom memory allocators

正在加载...
取消
保存