diff options
Diffstat (limited to 'cpp/src/Slice/PythonUtil.h')
-rw-r--r-- | cpp/src/Slice/PythonUtil.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/src/Slice/PythonUtil.h b/cpp/src/Slice/PythonUtil.h index 0b26d696e3b..d0967fce529 100644 --- a/cpp/src/Slice/PythonUtil.h +++ b/cpp/src/Slice/PythonUtil.h @@ -19,6 +19,17 @@ namespace Python { // +// Get the package directory from metadata (if any). +// +std::string getPackageDirectory(const std::string&, const Slice::UnitPtr&); + +// +// Determine the name of a Python source file for use in an import statement. +// The return value does not include the .py extension. +// +std::string getImportFileName(const std::string&, const Slice::UnitPtr&, const std::vector<std::string>&); + +// // Generate Python code for a translation unit. // void generate(const Slice::UnitPtr&, bool, bool, const std::vector<std::string>&, IceUtilInternal::Output&); |