forked from jupyter-xeus/xeus-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxinspect.hpp
29 lines (22 loc) · 1.09 KB
/
xinspect.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/***************************************************************************
* Copyright (c) 2018, Martin Renou, Johan Mabille, Sylvain Corlay, and *
* Wolf Vollprecht *
* Copyright (c) 2018, QuantStack *
* *
* Distributed under the terms of the BSD 3-Clause License. *
* *
* The full license is in the file LICENSE, distributed with this software. *
****************************************************************************/
#ifndef XPYT_INSPECT_HPP
#define XPYT_INSPECT_HPP
#include <string>
#include "pybind11/pybind11.h"
namespace py = pybind11;
namespace xpyt
{
py::list get_completions(const std::string& code, int cursor_pos);
py::list get_completions(const std::string& code);
std::string formatted_docstring(const std::string& code, int cursor_pos);
std::string formatted_docstring(const std::string& code);
}
#endif