Support modular smoke & cleanup.
Annotate for file src/libsmoke/smoke_util.cpp
2009-05-11 tobias 1 #if defined _WIN32 || defined __CYGWIN__
12:05:00 ' 2 #define CL_SMOKE_EXPORT __declspec(dllexport)
' 3 #else
' 4 #if __GNUC__ >= 4
' 5 #define CL_SMOKE_EXPORT __attribute__((visibility("default")))
' 6 #else
' 7 #define CL_SMOKE_EXPORT
' 8 #endif
' 9 #endif
2009-04-05 tobias 10
15:36:29 ' 11 /** @file
' 12 * \@brief Utility functions
' 13 */
' 14
' 15 extern "C" {
' 16
' 17 /** Gets the size of the C++ bool type in bytes.
' 18 *
' 19 * @return the size of bool
' 20 */
2009-05-11 tobias 21 CL_SMOKE_EXPORT int
2010-01-10 tobias 22 cl_smoke_sizeof_bool()
2009-04-05 tobias 23 {
15:36:29 ' 24 return sizeof(bool);
' 25 }
' 26
' 27 } // extern "C"