Fix C++ integration
							parent
							
								
									31c5b08f6a
								
							
						
					
					
						commit
						fbe24f72d7
					
				|  | @ -1,5 +1,9 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include <YeltsinDB/types.h> | ||||
| 
 | ||||
|  | @ -100,5 +104,6 @@ YDB_PageSize ydb_page_row_count_get(YDB_TablePage* page); | |||
|  */ | ||||
| void ydb_page_row_count_set(YDB_TablePage* page, YDB_PageSize row_count); | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  | @ -1,5 +1,9 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
| 
 | ||||
| #include <stdint.h> | ||||
| #include <YeltsinDB/types.h> | ||||
| #include <YeltsinDB/table_page.h> | ||||
|  | @ -149,3 +153,7 @@ YDB_Error ydb_delete_current_page(YDB_Engine* instance); | |||
|  * | ||||
|  * And in some cases even [table file structure](table_file.md) | ||||
|  */ | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  | @ -1,3 +1,6 @@ | |||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
| #include <YeltsinDB/constants.h> | ||||
|  | @ -112,5 +115,7 @@ void ydb_page_row_count_set(YDB_TablePage *page, YDB_PageSize row_count) { | |||
|   page->row_count = row_count; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue