mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 23:34:49 +01:00
fix: python glue works (only tested on mac though)
This commit is contained in:
parent
859baf6572
commit
25e56f9894
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ impl PyTextChange {
|
||||||
|
|
||||||
/* ------ Python module --------*/
|
/* ------ Python module --------*/
|
||||||
#[pymodule]
|
#[pymodule]
|
||||||
fn codemp_client(_py: Python, m: &PyModule) -> PyResult<()> {
|
fn codemp(_py: Python, m: &PyModule) -> PyResult<()> {
|
||||||
m.add_function(wrap_pyfunction!(codemp_init, m)?)?;
|
m.add_function(wrap_pyfunction!(codemp_init, m)?)?;
|
||||||
m.add_function(wrap_pyfunction!(init_logger, m)?)?;
|
m.add_function(wrap_pyfunction!(init_logger, m)?)?;
|
||||||
m.add_class::<PyClient>()?;
|
m.add_class::<PyClient>()?;
|
||||||
|
|
Loading…
Reference in a new issue