Przeglądaj źródła

* Tell doxygen to expand __class and __extern before parsing anything, so

we don’t end with those ugly identifiers in the documentation.
tags/v0.99.beta14
Sam Hocevar sam 17 lat temu
rodzic
commit
069f4775f0
5 zmienionych plików z 23 dodań i 31 usunięć
  1. +5
    -7
      caca/caca.h
  2. +5
    -7
      cucul/cucul.h
  3. +5
    -7
      cxx/caca++.h
  4. +5
    -7
      cxx/cucul++.h
  5. +3
    -3
      doc/doxygen.cfg.in

+ 5
- 7
caca/caca.h Wyświetl plik

@@ -26,13 +26,11 @@

#include <cucul.h>

#if !defined(_DOXYGEN_SKIP_ME)
# undef __extern
# if defined(_WIN32) && defined(__LIBCACA__)
# define __extern extern __declspec(dllexport)
# else
# define __extern extern
# endif
#undef __extern
#if defined(_WIN32) && defined(__LIBCACA__)
# define __extern extern __declspec(dllexport)
#else
# define __extern extern
#endif

/** libcaca API version */


+ 5
- 7
cucul/cucul.h Wyświetl plik

@@ -24,13 +24,11 @@
#ifndef __CUCUL_H__
#define __CUCUL_H__

#if !defined(_DOXYGEN_SKIP_ME)
# undef __extern
# if defined(_WIN32) && defined(__LIBCUCUL__)
# define __extern extern __declspec(dllexport)
# else
# define __extern extern
# endif
#undef __extern
#if defined(_WIN32) && defined(__LIBCUCUL__)
# define __extern extern __declspec(dllexport)
#else
# define __extern extern
#endif

/** libcucul API version */


+ 5
- 7
cxx/caca++.h Wyświetl plik

@@ -28,13 +28,11 @@

#include <cucul++.h>

#if !defined(_DOXYGEN_SKIP_ME)
# undef __class
# if defined(_WIN32) && defined(__LIBCACA_PP__)
# define __class class __declspec(dllexport)
# else
# define __class class
# endif
#undef __class
#if defined(_WIN32) && defined(__LIBCACA_PP__)
# define __class class __declspec(dllexport)
#else
# define __class class
#endif

__class Event


+ 5
- 7
cxx/cucul++.h Wyświetl plik

@@ -26,13 +26,11 @@

#include <cucul.h>

#if !defined(_DOXYGEN_SKIP_ME)
# undef __class
# if defined(_WIN32) && defined(__LIBCUCUL_PP__)
# define __class class __declspec(dllexport)
# else
# define __class class
# endif
#undef __class
#if defined(_WIN32) && defined(__LIBCUCUL_PP__)
# define __class class __declspec(dllexport)
#else
# define __class class
#endif

class Cucul;


+ 3
- 3
doc/doxygen.cfg.in Wyświetl plik

@@ -1039,13 +1039,13 @@ ENABLE_PREPROCESSING = YES
# compilation will be performed. Macro expansion can be done in a controlled
# way by setting EXPAND_ONLY_PREDEF to YES.

MACRO_EXPANSION = NO
MACRO_EXPANSION = YES

# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
# then the macro expansion is limited to the macros specified with the
# PREDEFINED and EXPAND_AS_DEFINED tags.

EXPAND_ONLY_PREDEF = NO
EXPAND_ONLY_PREDEF = YES

# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
# in the INCLUDE_PATH (see below) will be search if a #include is found.
@@ -1080,7 +1080,7 @@ PREDEFINED = _DOXYGEN_SKIP_ME
# The macro definition that is found in the sources will be used.
# Use the PREDEFINED tag if you want to use a different macro definition.

EXPAND_AS_DEFINED =
EXPAND_AS_DEFINED = __extern __class

# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
# doxygen's preprocessor will remove all function-like macros that are alone


Ładowanie…
Anuluj
Zapisz