File: apiextractormacros.h

package info (click to toggle)
shiboken 1.2.2-5.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,268 kB
  • sloc: cpp: 50,923; python: 5,950; xml: 2,354; ansic: 136; makefile: 134
file content (13 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef APIEXTRACTORMACROS_H
#define APIEXTRACTORMACROS_H


// APIEXTRACTOR_API is used for the public API symbols.
#if defined _WIN32
    #define APIEXTRACTOR_DEPRECATED(func) __declspec(deprecated) func
#elif __GNUC__ >= 4
    #define APIEXTRACTOR_DEPRECATED(func) func __attribute__ ((deprecated))
#else
    #define APIEXTRACTOR_DEPRECATED(func) func
#endif
#endif