123456789101112131415161718192021222324252627282930313233343536 |
- //
- // Prefix header for all source files of the 'VLC' target in the 'VLC' project.
- //
- #ifdef __OBJC__
- # import <Cocoa/Cocoa.h>
- # import "VLCHelperCode.h"
- #endif
- #ifdef HAVE_CONFIG_H
- # include "config.h"
- #endif
- #include <vlc/vlc.h>
- #include <vlc/libvlc.h>
- #ifndef NDEBUG
- #define VKLog(format, ...) NSLog(format, ## __VA_ARGS__)
- #else
- #define VKLog(format, ...)
- #endif
- #ifndef N_
- #define N_(str) gettext_noop(str)
- #define gettext_noop(str) (str)
- #endif
- #ifndef NS_DESIGNATED_INITIALIZER
- #if __has_attribute(objc_designated_initializer)
- #define NS_DESIGNATED_INITIALIZER __attribute((objc_designated_initializer))
- #else
- #define NS_DESIGNATED_INITIALIZER
- #endif
- #endif
|