~ubuntu-branches/ubuntu/hardy/uim/hardy

« back to all changes in this revision

Viewing changes to sigscheme/src/sigscheme-combined.h

  • Committer: Bazaar Package Importer
  • Author(s): Masahito Omote
  • Date: 2007-04-21 03:46:09 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070421034609-gpcurkutp8vaysqj
Tags: 1:1.4.1-3
* Switch to dh_gtkmodules for the gtk 2.10 transition (Closes:
  #419318)
  - debian/control: Add ${misc:Depends} and remove libgtk2.0-bin on
    uim-gtk2.0.
  - debian/uim-gtk2.0.post{inst,rm}: Removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*===========================================================================
 
2
 *  Filename : sigscheme-combined.h
 
3
 *  About    : Header for combined-source version of SigScheme
 
4
 *
 
5
 *  Copyright (C) 2006 YAMAMOTO Kengo <yamaken AT bp.iij4u.or.jp>
 
6
 *  Copyright (c) 2007 SigScheme Project <uim AT freedesktop.org>
 
7
 *
 
8
 *  All rights reserved.
 
9
 *
 
10
 *  Redistribution and use in source and binary forms, with or without
 
11
 *  modification, are permitted provided that the following conditions
 
12
 *  are met:
 
13
 *
 
14
 *  1. Redistributions of source code must retain the above copyright
 
15
 *     notice, this list of conditions and the following disclaimer.
 
16
 *  2. Redistributions in binary form must reproduce the above copyright
 
17
 *     notice, this list of conditions and the following disclaimer in the
 
18
 *     documentation and/or other materials provided with the distribution.
 
19
 *  3. Neither the name of authors nor the names of its contributors
 
20
 *     may be used to endorse or promote products derived from this software
 
21
 *     without specific prior written permission.
 
22
 *
 
23
 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
 
24
 *  IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 
25
 *  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 
26
 *  PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
 
27
 *  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 
28
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 
29
 *  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
 
30
 *  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 
31
 *  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 
32
 *  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 
33
 *  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
34
===========================================================================*/
 
35
 
 
36
/* This file must be included before the client package's config.h */
 
37
 
 
38
/* See doc/global-obj.txt for usage. */
 
39
 
 
40
#ifndef __SCM_SIGSCHEME_COMBINED_H
 
41
#define __SCM_SIGSCHEME_COMBINED_H
 
42
 
 
43
/* Disable SigScheme-specific feature restrictions for _POSIX_C_SOURCE,
 
44
 * _XOPEN_SOURCE and so on. */
 
45
#define SCM_COMPILING_LIBSSCM 0
 
46
 
 
47
#include <sigscheme/config.h>
 
48
/* Since sigscheme-combined.c is intended to be directly included into another
 
49
 * package as subordinate code module, these SigScheme-defined macros should be
 
50
 * undefined to avoid conflict. */
 
51
#undef PACKAGE
 
52
#undef PACKAGE_BUGREPORT
 
53
#undef PACKAGE_NAME
 
54
#undef PACKAGE_STRING
 
55
#undef PACKAGE_TARNAME
 
56
#undef PACKAGE_VERSION
 
57
#undef VERSION
 
58
 
 
59
/* Enable libsscm compiling-time-specific codes. */
 
60
#undef  SCM_COMPILING_LIBSSCM
 
61
#define SCM_COMPILING_LIBSSCM 1
 
62
 
 
63
#ifdef __cplusplus
 
64
extern "C" {
 
65
#endif
 
66
 
 
67
/*=======================================
 
68
  Macro Definitions
 
69
=======================================*/
 
70
#define SCM_COMBINED_SOURCE 1
 
71
#ifndef SCM_EXPORT_API
 
72
#define SCM_EXPORT_API      0 /* global API symbols are hidden by default */
 
73
#endif
 
74
 
 
75
/*=======================================
 
76
  Type Definitions
 
77
=======================================*/
 
78
 
 
79
/*=======================================
 
80
  Variable Declarations
 
81
=======================================*/
 
82
 
 
83
/*=======================================
 
84
  Function Declarations
 
85
=======================================*/
 
86
 
 
87
 
 
88
#ifdef __cplusplus
 
89
}
 
90
#endif
 
91
 
 
92
#endif /* __SCM_SIGSCHEME_COMBINED_H */