Skip to content
Snippets Groups Projects
  • Sergei Rashitov's avatar
    Fix windows build · 9f518551
    Sergei Rashitov authored and dmitriy.gerasimov's avatar dmitriy.gerasimov committed
    [*] Update CMakeLists: dll -> pyd
    [*] Rename src to CellFrame to get rid of symlink and fix copying of
    __init__.py file to package folder
    [*] Uncomment content of __init__.py
    9f518551
wrapping_dap_stream_ctl.c 503 B
#include "wrapping_dap_stream_ctl.h"

PyObject *dap_stream_ctl_add_proc_py(PyObject *self, PyObject *args){
    PyObject *obj_server;
    const char *STREAM_CTL_URL;
    if (!PyArg_ParseTuple(args, "O|s", &obj_server, &STREAM_CTL_URL))
        return  NULL;
    dap_stream_ctl_add_proc(DAP_HTTP(((PyDapServerObject*)obj_server)->t_server), STREAM_CTL_URL);
    return PyLong_FromLong(0);
}

int dap_stream_ctl_init_py(dap_enc_key_type_t key, uint32_t size){
    return dap_stream_ctl_init(key, size);
}