init.hh (11988:665cd5f8b52b) init.hh (11990:5fad911cc326)
1/*
2 * Copyright (c) 2017 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

75 bool addModule() const;
76
77 static EmbeddedPython *importer;
78 static PyObject *importerModule;
79 static std::list<EmbeddedPython *> &getList();
80 static int initAll();
81};
82
1/*
2 * Copyright (c) 2017 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

75 bool addModule() const;
76
77 static EmbeddedPython *importer;
78 static PyObject *importerModule;
79 static std::list<EmbeddedPython *> &getList();
80 static int initAll();
81};
82
83struct EmbeddedSwig
84{
85 void (*initFunc)();
86
87 std::string context;
88
89 EmbeddedSwig(void (*init_func)(), const std::string& _context);
90
91 static std::list<EmbeddedSwig *> &getList();
92 static void initAll();
93};
94
95class EmbeddedPyBind
96{
97 public:
98 EmbeddedPyBind(const char *_name,
99 void (*init_func)(pybind11::module &),
100 const char *_base);
101
102 EmbeddedPyBind(const char *_name,

--- 22 unchanged lines hidden ---
83class EmbeddedPyBind
84{
85 public:
86 EmbeddedPyBind(const char *_name,
87 void (*init_func)(pybind11::module &),
88 const char *_base);
89
90 EmbeddedPyBind(const char *_name,

--- 22 unchanged lines hidden ---