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
24  Original Author: Stan Y. Liao, Synopsys, Inc.
25
26  CHANGE LOG AT THE END OF THE FILE
27 *****************************************************************************/
28
29
30#ifndef SC_EXTERNS_H
31#define SC_EXTERNS_H
32
33
34
35extern "C" int sc_main( int argc, char* argv[] );
36
37namespace sc_core {
38	extern "C" int sc_elab_and_sim( int argc, char* argv[] );
39	extern "C" int sc_argc();
40	extern "C" const char* const* sc_argv();
41
42} // namespace sc_core
43
44// $Log: sc_externs.h,v $
45// Revision 1.5  2011/08/26 20:46:09  acg
46//  Andy Goodrich: moved the modification log to the end of the file to
47//  eliminate source line number skew when check-ins are done.
48//
49// Revision 1.4  2011/02/18 20:27:14  acg
50//  Andy Goodrich: Updated Copyrights.
51//
52// Revision 1.3  2011/02/13 21:47:37  acg
53//  Andy Goodrich: update copyright notice.
54//
55// Revision 1.2  2008/05/22 17:06:25  acg
56//  Andy Goodrich: updated copyright notice to include 2008.
57//
58// Revision 1.1.1.1  2006/12/15 20:20:05  acg
59// SystemC 2.3
60//
61// Revision 1.3  2006/01/13 18:44:29  acg
62// Added $Log to record CVS changes into the source.
63//
64
65#endif
66