~ubuntu-branches/ubuntu/raring/babel/raring-proposed

« back to all changes in this revision

Viewing changes to runtime/sidl/sidlAssertUtils.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2008-08-01 07:56:58 UTC
  • mfrom: (3.1.2 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080801075658-9ezcrbh8dcs8lg70
Tags: 1.2.0.dfsg-6
Added libparsifal-dev as dependency to libsidl-dev (closes: #483324).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * File:        sidlAssertUtils.h
3
 
 * Revision:    @(#) $Revision: 4434 $
4
 
 * Date:        $Date: 2005-03-17 09:05:29 -0800 (Thu, 17 Mar 2005) $
 
3
 * Revision:    @(#) $Revision: 6058 $
 
4
 * Date:        $Date: 2007-06-29 15:14:17 -0700 (Fri, 29 Jun 2007) $
5
5
 * Description: convenience C macros for managing SIDL Assertions
6
6
 *
7
7
 * Copyright (c) 2004, The Regents of the University of Calfornia.
52
52
static const int s_CHECK_RANDOMLY        = 12;
53
53
static const int s_CHECK_ASSERTIONS      = 13; /* for description only! */
54
54
 
55
 
static const char* s_CHECK_DESCRIPTION[] = {
 
55
static const char* const s_CHECK_DESCRIPTION[] = {
56
56
  "no assertions", "preconditions", "postconditions", "invariants", 
57
57
  "pre- and post-conditions", "preconditions and invariants", 
58
58
  "postconditions and invariants", "all assertions", "",
59
59
  "always", "periodically", "timing", "randomly", "all frequencies",
60
60
};
61
61
 
 
62
#ifdef __cplusplus
 
63
extern "C" { /* } */
 
64
#endif
 
65
 
62
66
/****************************************************************************
63
67
 * SIDL Assertion static support methods
64
68
 ****************************************************************************/
71
75
char*
72
76
sidl_getCheckDescription(int level);
73
77
 
 
78
#ifdef __cplusplus
 
79
}
 
80
#endif
74
81
#endif /* included_sidlAssertUtils_h */