Split CTF IR and CTF writer APIs and implementations
[babeltrace.git] / include / babeltrace / ctf-ir / utils.h
index 9120730204bfec72f1118a241f1ddab7030fe6ea..483e69463f0df2b7f39100adcf98a04dfc42466e 100644 (file)
@@ -72,7 +72,11 @@ extern bt_bool bt_identifier_is_valid(const char *identifier);
 /** @} */
 
 /* Pre-2.0 CTF writer compatibility */
-extern int bt_ctf_validate_identifier(const char *identifier);
+static inline
+int bt_ctf_validate_identifier(const char *identifier)
+{
+       return bt_identifier_is_valid(identifier) ? 1 : 0;
+}
 
 #ifdef __cplusplus
 }
This page took 0.023355 seconds and 4 git commands to generate.