| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-02 10:57:48 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-02 10:57:48 +0200 |
| commit | 265053e2a4394b20d82aa1170ec3a9901f437d81 (patch) | |
| tree | 022440b6bc0d1ad36e36429573ec17e589fb791c /src/axis.c | |
| parent | d9656cc86505b6f2bba57e04a4c99430a945a70d (diff) | |
Adds some comments, as well as minor code improvements.
Diffstat (limited to 'src/axis.c')
| -rw-r--r-- | src/axis.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4,7 +4,12 @@ #include "axis.h" -enum relabsd_axis relabsd_axis_name_to_enum (char * const name) +/* + * Implementation note: _IS_PREFIX, as its name implies, is checking for a + * prefix, not an equal value. This could cause issues if there were axes + * with name prefixed by another axis name. + */ +enum relabsd_axis relabsd_axis_name_to_enum (const char * const name) { if (_IS_PREFIX("X", name)) { |


