Explorar el Código

Merge pull request #20 from procedural/cpp-fixes

Fixes for C++, bool type already defined
pull/23/head
Ray hace 10 años
padre
commit
387795311c
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      src/raylib.h

+ 2
- 0
src/raylib.h Ver fichero

@ -178,8 +178,10 @@
// Types and Structures Definition
//----------------------------------------------------------------------------------
#ifndef __cplusplus
// Boolean type
typedef enum { false, true } bool;
#endif
// byte type
typedef unsigned char byte;

Cargando…
Cancelar
Guardar