~ubuntu-branches/ubuntu/maverick/swig1.3/maverick

« back to all changes in this revision

Viewing changes to Lib/linkruntime.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-12-20 14:43:24 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20061220144324-bps3kb06xp5oy9w1
Tags: 1.3.31-1ubuntu1
* Merge from debian unstable, remaining changes:
  - drop support for pike
  - use php5 instead of php4
  - clean Runtime/ as well
  - force a few environment variables

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SWIGEXPORT
1
2
# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
2
3
#   if defined(STATIC_LINKED)
3
4
#     define SWIGEXPORT
5
6
#     define SWIGEXPORT __declspec(dllexport)
6
7
#   endif
7
8
# else
 
9
#   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
 
10
#     define SWIGEXPORT __attribute__ ((visibility("default")))
 
11
#   else
 
12
#     define SWIGEXPORT
 
13
#   endif
 
14
# endif
 
15
#endif
8
16
 
9
17
static void *ptr = 0;
10
18
SWIGEXPORT void *