aboutsummaryrefslogtreecommitdiff
path: root/include/floatformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/floatformat.h')
-rw-r--r--include/floatformat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/floatformat.h b/include/floatformat.h
index 3d0fd7a87ad..a8244ada5c7 100644
--- a/include/floatformat.h
+++ b/include/floatformat.h
@@ -80,6 +80,9 @@ struct floatformat
/* Internal name for debugging. */
const char *name;
+
+ /* Validator method. */
+ int (*is_valid) PARAMS ((const struct floatformat *fmt, const char *from));
};
/* floatformats for IEEE single and double, big and little endian. */