Deleted Added
sdiff udiff text old ( 11548:91f58918a76a ) new ( 11988:665cd5f8b52b )
full compact
1/*
2 * Copyright (c) 2008 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
9 * redistributions in binary form must reproduce the above copyright

--- 16 unchanged lines hidden (view full) ---

26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Nathan Binkert
29 */
30
31#ifndef __SIM_INIT_HH__
32#define __SIM_INIT_HH__
33
34#include <Python.h>
35
36#include <list>
37#include <string>
38
39#include <inttypes.h>
40
41#ifndef PyObject_HEAD
42struct _object;
43typedef _object PyObject;
44#endif

--- 29 unchanged lines hidden (view full) ---

74 std::string context;
75
76 EmbeddedSwig(void (*init_func)(), const std::string& _context);
77
78 static std::list<EmbeddedSwig *> &getList();
79 static void initAll();
80};
81
82int initM5Python();
83int m5Main(int argc, char **argv);
84PyMODINIT_FUNC initm5(void);
85
86#endif // __SIM_INIT_HH__