~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//
2
 
// sequence_ci.cpp,v 1.29 2003/04/22 20:50:06 bala Exp
3
 
//
4
 
 
5
 
// ============================================================================
6
 
//
7
 
// = LIBRARY
8
 
//    TAO IDL
9
 
//
10
 
// = FILENAME
11
 
//    sequence_ci.cpp
12
 
//
13
 
// = DESCRIPTION
14
 
//    Visitor generating code for Sequence in the client inline file
15
 
//
16
 
// = AUTHOR
17
 
//    Aniruddha Gokhale
18
 
//
19
 
// ============================================================================
20
 
 
21
 
ACE_RCSID (be_visitor_sequence,
22
 
           sequence_ci,
23
 
           "sequence_ci.cpp,v 1.29 2003/04/22 20:50:06 bala Exp")
24
 
 
25
 
// ***********************************************************
26
 
// Sequence visitor for inline generation.
27
 
// ***********************************************************
28
 
 
29
 
 
30
 
be_visitor_sequence_ci::be_visitor_sequence_ci (be_visitor_context *ctx)
31
 
  : be_visitor_decl (ctx)
32
 
{
33
 
}
34
 
 
35
 
be_visitor_sequence_ci::~be_visitor_sequence_ci (void)
36
 
{
37
 
}
38
 
 
39
 
int
40
 
be_visitor_sequence_ci::visit_sequence (be_sequence *node)
41
 
{
42
 
  if (node->cli_inline_gen () || node->imported ())
43
 
    {
44
 
      return 0;
45
 
    }
46
 
 
47
 
  node->cli_inline_gen (1);
48
 
  return 0;
49
 
}