X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fformat.h;fp=src%2Fdata%2Fformat.h;h=3615612898ab2853d219d53269c85edc1db417e9;hb=aec666288852283bff590537389d92ca88df43ae;hp=88b49a5a38a522547364cf592f81ccbf176fe1ae;hpb=89ca2311946d399ae677478b78861cfbf63893bc;p=pspp-builds.git diff --git a/src/data/format.h b/src/data/format.h index 88b49a5a..36156128 100644 --- a/src/data/format.h +++ b/src/data/format.h @@ -114,6 +114,9 @@ bool fmt_from_name (const char *name, enum fmt_type *); bool fmt_takes_decimals (enum fmt_type) PURE_FUNCTION; +int fmt_min_width (enum fmt_type, bool for_input) PURE_FUNCTION; +int fmt_max_width (enum fmt_type, bool for_input) PURE_FUNCTION; +int fmt_max_decimals (enum fmt_type, int width, bool for_input) PURE_FUNCTION; int fmt_min_input_width (enum fmt_type) PURE_FUNCTION; int fmt_max_input_width (enum fmt_type) PURE_FUNCTION; int fmt_max_input_decimals (enum fmt_type, int width) PURE_FUNCTION;