41#ifndef __SIM_INIT_HH__
42#define __SIM_INIT_HH__
44#include "pybind11/pybind11.h"
57 void (*init_func)(pybind11::module_ &),
61 void (*init_func)(pybind11::module_ &));
63 static void initAll(pybind11::module_ &_m5);
75 static pybind11::module_ *
mod;
78 static std::map<std::string, EmbeddedPyBind *> &
getReady();
80 static std::multimap<std::string, EmbeddedPyBind *> &
getPending();
83 static void initPending(
const std::string &finished);
static void initPending(const std::string &finished)
static void initAll(pybind11::module_ &_m5)
static pybind11::module_ * mod
EmbeddedPyBind(const char *_name, void(*init_func)(pybind11::module_ &), const char *_base)
static std::map< std::string, EmbeddedPyBind * > & getReady()
void(* initFunc)(pybind11::module_ &)
static std::multimap< std::string, EmbeddedPyBind * > & getPending()
EmbeddedPyBind(const char *_name, void(*init_func)(pybind11::module_ &))
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.