projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split CTF IR and CTF writer APIs and implementations
[babeltrace.git]
/
include
/
babeltrace
/
ctf-ir
/
utils.h
diff --git
a/include/babeltrace/ctf-ir/utils.h
b/include/babeltrace/ctf-ir/utils.h
index 9120730204bfec72f1118a241f1ddab7030fe6ea..483e69463f0df2b7f39100adcf98a04dfc42466e 100644
(file)
--- a/
include/babeltrace/ctf-ir/utils.h
+++ b/
include/babeltrace/ctf-ir/utils.h
@@
-72,7
+72,11
@@
extern bt_bool bt_identifier_is_valid(const char *identifier);
/** @} */
/* Pre-2.0 CTF writer compatibility */
/** @} */
/* 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
}
#ifdef __cplusplus
}
This page took
0.033384 seconds
and
4
git commands to generate.