SystemC  2.3.1
Accellera SystemC proof-of-concept library
sc_externs.h
Go to the documentation of this file.
1 /*****************************************************************************
2 
3  The following code is derived, directly or indirectly, from the SystemC
4  source code Copyright (c) 1996-2014 by all Contributors.
5  All Rights reserved.
6 
7  The contents of this file are subject to the restrictions and limitations
8  set forth in the SystemC Open Source License (the "License");
9  You may not use this file except in compliance with such restrictions and
10  limitations. You may obtain instructions on how to receive a copy of the
11  License at http://www.accellera.org/. Software distributed by Contributors
12  under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF
13  ANY KIND, either express or implied. See the License for the specific
14  language governing rights and limitations under the License.
15 
16  *****************************************************************************/
17 
18 /*****************************************************************************
19 
20  sc_externs.h -- Declaration of `sc_main' and other global variables.
21 
22  Original Author: Stan Y. Liao, Synopsys, Inc.
23 
24  CHANGE LOG AT THE END OF THE FILE
25  *****************************************************************************/
26 
27 
28 #ifndef SC_EXTERNS_H
29 #define SC_EXTERNS_H
30 
31 
32 
33 extern "C" int sc_main( int argc, char* argv[] );
34 
35 namespace sc_core {
36  extern "C" int sc_elab_and_sim( int argc, char* argv[] );
37  extern "C" int sc_argc();
38  extern "C" const char* const* sc_argv();
39 
40 } // namespace sc_core
41 
42 // $Log: sc_externs.h,v $
43 // Revision 1.5 2011/08/26 20:46:09 acg
44 // Andy Goodrich: moved the modification log to the end of the file to
45 // eliminate source line number skew when check-ins are done.
46 //
47 // Revision 1.4 2011/02/18 20:27:14 acg
48 // Andy Goodrich: Updated Copyrights.
49 //
50 // Revision 1.3 2011/02/13 21:47:37 acg
51 // Andy Goodrich: update copyright notice.
52 //
53 // Revision 1.2 2008/05/22 17:06:25 acg
54 // Andy Goodrich: updated copyright notice to include 2008.
55 //
56 // Revision 1.1.1.1 2006/12/15 20:20:05 acg
57 // SystemC 2.3
58 //
59 // Revision 1.3 2006/01/13 18:44:29 acg
60 // Added $Log to record CVS changes into the source.
61 //
62 
63 #endif
int sc_elab_and_sim(int argc, char *argv[])
int sc_argc()
int sc_main(int argc, char *argv[])
const char *const * sc_argv()