~ubuntu-branches/ubuntu/trusty/cmake3/trusty-updates

« back to all changes in this revision

Viewing changes to Tests/RunCMake/AutoExportDll/hello.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2017-02-23 17:55:24 UTC
  • Revision ID: package-import@ubuntu.com-20170223175524-5nh7s4pu97fsa0t7
Tags: upstream-3.5.1
ImportĀ upstreamĀ versionĀ 3.5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _MSC_VER
 
2
#define winexport
 
3
#else
 
4
#ifdef autoexport_EXPORTS
 
5
#define winexport
 
6
#else
 
7
#define winexport __declspec(dllimport)
 
8
#endif
 
9
#endif
 
10
 
 
11
class Hello
 
12
{
 
13
public:
 
14
  static winexport int Data;
 
15
  void real();
 
16
  static void operator delete[](void*);
 
17
  static void operator delete(void*);
 
18
};