X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Ftparm_type.h;h=7c102a309c1a423db36427bca2a7693f76df3b5a;hp=77f4f21cfb565d7015fa514eaeeec544c08b20ae;hb=9a9dd79463eba7af0b06b6a1f7e580b632ec1be1;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280 diff --git a/progs/tparm_type.h b/progs/tparm_type.h index 77f4f21c..7c102a30 100644 --- a/progs/tparm_type.h +++ b/progs/tparm_type.h @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * $Id: tparm_type.h,v 1.2 2020/02/02 23:34:34 tom Exp $ + * $Id: tparm_type.h,v 1.3 2020/10/24 17:11:33 tom Exp $ * * determine expected/actual number of parameters to setup for tparm */ @@ -43,11 +43,13 @@ #include typedef enum { - Numbers = 0 + Other = -1 + ,Numbers = 0 ,Num_Str ,Num_Str_Str } TParams; extern TParams tparm_type(const char *name); +extern TParams guess_tparm_type(int nparam, char **p_is_s); #endif /* TPARM_TYPE_H */