mirror of
				https://github.com/eledio-devices/thirdparty-tinyexpr.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Added extern C guards for C++ users.
This commit is contained in:
		| @@ -26,6 +26,10 @@ | ||||
| #define __TINYEXPR_H__ | ||||
|  | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
|  | ||||
|  | ||||
| typedef double (*te_fun1)(double); | ||||
| typedef double (*te_fun2)(double, double); | ||||
| @@ -70,5 +74,8 @@ void te_print(const te_expr *n); | ||||
| void te_free(te_expr *n); | ||||
|  | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  | ||||
| #endif /*__TINYEXPR_H__*/ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user