You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					17 lines
				
				379 B
			
		
		
			
		
	
	
					17 lines
				
				379 B
			| 
								 
											5 years ago
										 
									 | 
							
								from libcpp.string cimport string
							 | 
						||
| 
								 | 
							
								from libcpp cimport bool
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cdef extern from "selfdrive/common/params.cc":
							 | 
						||
| 
								 | 
							
								  pass
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cdef extern from "selfdrive/common/util.c":
							 | 
						||
| 
								 | 
							
								  pass
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cdef extern from "selfdrive/common/params.h":
							 | 
						||
| 
								 | 
							
								  cdef cppclass Params:
							 | 
						||
| 
								 | 
							
								    Params(bool)
							 | 
						||
| 
								 | 
							
								    Params(string)
							 | 
						||
| 
								 | 
							
								    string get(string, bool) nogil
							 | 
						||
| 
								 | 
							
								    int delete_db_value(string)
							 | 
						||
| 
								 | 
							
								    int write_db_value(string, string)
							 |