SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_externs.h
Go to the documentation of this file.
1 /*****************************************************************************
2 
3  Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
4  more contributor license agreements. See the NOTICE file distributed
5  with this work for additional information regarding copyright ownership.
6  Accellera licenses this file to you under the Apache License, Version 2.0
7  (the "License"); you may not use this file except in compliance with the
8  License. You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15  implied. See the License for the specific language governing
16  permissions and limitations under the License.
17 
18  *****************************************************************************/
19 
20 /*****************************************************************************
21 
22  sc_externs.h -- Declaration of `sc_main' and other global variables.
23 */
34 #ifndef SC_EXTERNS_H
35 #define SC_EXTERNS_H
36 
37 
38 
39 extern "C" int sc_main( int argc, char* argv[] );
40 
41 namespace sc_core {
42  extern "C" int sc_elab_and_sim( int argc, char* argv[] );
43  extern "C" int sc_argc();
44  extern "C" const char* const* sc_argv();
45 
46 } // namespace sc_core
47 
48 // $Log: sc_externs.h,v $
49 // Revision 1.5 2011/08/26 20:46:09 acg
50 // Andy Goodrich: moved the modification log to the end of the file to
51 // eliminate source line number skew when check-ins are done.
52 //
53 // Revision 1.4 2011/02/18 20:27:14 acg
54 // Andy Goodrich: Updated Copyrights.
55 //
56 // Revision 1.3 2011/02/13 21:47:37 acg
57 // Andy Goodrich: update copyright notice.
58 //
59 // Revision 1.2 2008/05/22 17:06:25 acg
60 // Andy Goodrich: updated copyright notice to include 2008.
61 //
62 // Revision 1.1.1.1 2006/12/15 20:20:05 acg
63 // SystemC 2.3
64 //
65 // Revision 1.3 2006/01/13 18:44:29 acg
66 // Added $Log to record CVS changes into the source.
67 //
68 
69 #endif
const char *const * sc_argv()
int sc_elab_and_sim(int argc, char *argv[])
int sc_main(int argc, char *argv[])
int sc_argc()