File: template_api.h.in

package info (click to toggle)
glbinding 3.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,972 kB
  • sloc: cpp: 224,461; javascript: 1,615; sh: 114; makefile: 98
file content (22 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#ifndef ${target_id}_TEMPLATE_API_H
#define ${target_id}_TEMPLATE_API_H

#include <${target}/${target}_export.h>

#ifdef ${target_id}_STATIC_DEFINE
#  define ${target_id}_TEMPLATE_API
#else
#  ifndef ${target_id}_TEMPLATE_API
#    ifdef ${target_id}_EXPORTS
        /* We are building this library */
#      define ${target_id}_TEMPLATE_API __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define ${target_id}_TEMPLATE_API __attribute__((visibility("default")))
#    endif
#  endif

#endif

#endif