mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 07:43:57 +08:00
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f6
17 lines
360 B
Cython
17 lines
360 B
Cython
from libcpp.string cimport string
|
|
from libcpp cimport bool
|
|
|
|
cdef extern from "selfdrive/common/params.cc":
|
|
pass
|
|
|
|
cdef extern from "selfdrive/common/util.cc":
|
|
pass
|
|
|
|
cdef extern from "selfdrive/common/params.h":
|
|
cdef cppclass Params:
|
|
Params(bool)
|
|
Params(string)
|
|
string get(string, bool) nogil
|
|
int remove(string)
|
|
int put(string, string)
|