소스 검색

Review functions definition modifiers

pull/1092/head
raysan5 5 년 전
부모
커밋
406373caa9
1개의 변경된 파일10개의 추가작업 그리고 7개의 파일을 삭제
  1. +10
    -7
      src/raylib.h

+ 10
- 7
src/raylib.h 파일 보기

@ -74,14 +74,17 @@
#ifndef RAYLIB_H
#define RAYLIB_H
#include <stdarg.h> // Required for: va_list - Only used by TraceLogCallback
#include <stdarg.h> // Required for: va_list - Only used by TraceLogCallback
#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 raylib as a static library (or Linux shared library)
#if defined(_WIN32)
// Microsoft attibutes to tell compiler that symbols are imported/exported from a .dll
#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
//----------------------------------------------------------------------------------

불러오는 중...
취소
저장