mirror of
				https://github.com/troglobit/editline.git
				synced 2025-10-31 16:28:15 +08:00 
			
		
		
		
	Prevent mangling of symbols when linking with C++
Signed-off-by: Jakub Pawlo <jakubpawlo@gmail.com> Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
		 Jakub Pawlo
					Jakub Pawlo
				
			
				
					committed by
					
						 Joachim Nilsson
						Joachim Nilsson
					
				
			
			
				
	
			
			
			 Joachim Nilsson
						Joachim Nilsson
					
				
			
						parent
						
							3dbeaa0637
						
					
				
				
					commit
					91398ceb34
				
			| @@ -29,6 +29,10 @@ | ||||
| #define ISMETA(x)       ((x) & 0x80) | ||||
| #define UNMETA(x)       ((x) & 0x7F) | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
|  | ||||
| /* Command status codes. */ | ||||
| typedef enum { | ||||
|     CSdone = 0,                 /* OK */ | ||||
| @@ -100,4 +104,8 @@ void rl_deprep_terminal(void); | ||||
|  | ||||
| int rl_getc(void); | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  | ||||
| #endif  /* __EDITLINE_H__ */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user