Skip to content

Commit

Permalink
WS Cleanup Stage #7 - line up simple defs
Browse files Browse the repository at this point in the history
  • Loading branch information
demerphq committed Nov 5, 2022
1 parent b858d24 commit 05a0908
Show file tree
Hide file tree
Showing 45 changed files with 4,889 additions and 4,889 deletions.
30 changes: 15 additions & 15 deletions EXTERN.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,32 @@
# if defined(WIN32) && !defined(PERL_STATIC_SYMS)
/* miniperl should not export anything */
# if defined(PERL_IS_MINIPERL)
# define EXT extern
# define EXT extern
# define dEXT
# define EXTCONST extern const
# define dEXTCONST const
# define EXTCONST extern const
# define dEXTCONST const
# elif defined(PERLDLL)
# define EXT EXTERN_C __declspec(dllexport)
# define EXT EXTERN_C __declspec(dllexport)
# define dEXT
# define EXTCONST EXTERN_C __declspec(dllexport) const
# define dEXTCONST const
# define EXTCONST EXTERN_C __declspec(dllexport) const
# define dEXTCONST const
# else
# define EXT EXTERN_C __declspec(dllimport)
# define EXT EXTERN_C __declspec(dllimport)
# define dEXT
# define EXTCONST EXTERN_C __declspec(dllimport) const
# define dEXTCONST const
# define EXTCONST EXTERN_C __declspec(dllimport) const
# define dEXTCONST const
# endif
# else
# if defined(__CYGWIN__) && defined(USEIMPORTLIB)
# define EXT extern __declspec(dllimport)
# define EXT extern __declspec(dllimport)
# define dEXT
# define EXTCONST extern __declspec(dllimport) const
# define dEXTCONST const
# define EXTCONST extern __declspec(dllimport) const
# define dEXTCONST const
# else
# define EXT extern
# define EXT extern
# define dEXT
# define EXTCONST extern const
# define dEXTCONST const
# define EXTCONST extern const
# define dEXTCONST const
# endif
# endif

Expand Down
22 changes: 11 additions & 11 deletions INTERN.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,31 @@

# if (defined(WIN32) && defined(__MINGW32__) && ! defined(PERL_IS_MINIPERL))
# ifdef __cplusplus
# define EXT __declspec(dllexport)
# define EXT __declspec(dllexport)
# define dEXT
# define EXTCONST __declspec(dllexport) extern const
# define dEXTCONST const
# define EXTCONST __declspec(dllexport) extern const
# define dEXTCONST const
# else
# define EXT __declspec(dllexport)
# define EXT __declspec(dllexport)
# define dEXT
# define EXTCONST __declspec(dllexport) const
# define dEXTCONST const
# define EXTCONST __declspec(dllexport) const
# define dEXTCONST const
# endif
# else
# ifdef __cplusplus
# define EXT
# define dEXT
# define EXTCONST EXTERN_C const
# define dEXTCONST const
# define EXTCONST EXTERN_C const
# define dEXTCONST const
# else
# define EXT
# define dEXT
# define EXTCONST const
# define dEXTCONST const
# define EXTCONST const
# define dEXTCONST const
# endif
# endif

#undef INIT
#define INIT(...) = __VA_ARGS__
#define INIT(...) = __VA_ARGS__

#define DOINIT
Loading

0 comments on commit 05a0908

Please sign in to comment.