Цей веб-сайт працює краще з JavaScript.
Головна
Довідка
Увійти
cacalabs
/
neercs
дзеркало
https://github.com/cacalabs/neercs.git
Слідкувати
1
В обрані
0
Форк
0
Код
Проблеми
0
Релізи
0
Вікі
Активність
Переглянути джерело
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
master
Sam Hocevar
10 роки тому
джерело
3f897ce51a
коміт
c8af09f3b4
6 змінених файлів
з
7 додано
та
22 видалено
Розділений перегляд
Параметри порівняння
Показати статистику
Завантажити патч
Завантажити файл різниці
+1
-4
neercs/neercs.h
+2
-3
neercs/old/neercs.h
+1
-4
neercs/term/pty.h
+1
-4
neercs/term/term.h
+1
-3
neercs/video/render.h
+1
-4
neercs/video/text-render.h
+ 1
- 4
neercs/neercs.h
Переглянути файл
@@ -4,8 +4,7 @@
// Copyright: (c) 2012 Sam Hocevar <sam@hocevar.net>
//
#if !defined __NEERCS_H__
#define __NEERCS_H__
#pragma once
#include <caca.h>
@@ -36,5 +35,3 @@ private:
bool m_ready;
};
#endif // __NEERCS_H__
+ 2
- 3
neercs/old/neercs.h
Переглянути файл
@@ -11,8 +11,7 @@
* http://www.wtfpl.net/ for more details.
*/
#ifndef _NEERCS_H_
#define _NEERCS_H_
#pragma once
#include <stdint.h>
#include <caca.h>
@@ -427,4 +426,4 @@ static inline void debug(const char *format, ...)
#else
# define debug(format, ...) do {} while(0)
#endif
#endif /* _NEERCS_H_ */
+ 1
- 4
neercs/term/pty.h
Переглянути файл
@@ -2,8 +2,7 @@
// Neercs
//
#if !defined __TERM_PTY_H__
#define __TERM_PTY_H__
#pragma once
class Pty
{
@@ -30,5 +29,3 @@ private:
ivec2 m_size;
};
#endif // __TERM_PTY_H__
+ 1
- 4
neercs/term/term.h
Переглянути файл
@@ -2,8 +2,7 @@
// Neercs
//
#if !defined __TERM_TERM_H__
#define __TERM_TERM_H__
#pragma once
#include "term/pty.h"
@@ -129,5 +128,3 @@ private:
bool m_debug;
};
#endif // __TERM_TERM_H__
+ 1
- 3
neercs/video/render.h
Переглянути файл
@@ -2,8 +2,7 @@
// Neercs
//
#if !defined __VIDEO_RENDER_H__
#define __VIDEO_RENDER_H__
#pragma once
class Render : public WorldEntity
{
@@ -55,4 +54,3 @@ private:
m_flags;
};
#endif // __VIDEO_RENDER_H__
+ 1
- 4
neercs/video/text-render.h
Переглянути файл
@@ -2,8 +2,7 @@
// Neercs
//
#if !defined __TEXT_RENDER_H__
#define __TEXT_RENDER_H__
#pragma once
class TextRender
{
@@ -31,5 +30,3 @@ private:
Framebuffer *m_fbo;
};
#endif // __TEXT_RENDER_H__
Писати
Попередній перегляд
Завантаження…
Відмінити
Зберегти