mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 19:31:02 -08:00
Tidying up arg.c and arg.h.
Copied from Perforce Change: 181665 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
60ae2d01be
commit
dfd7156740
2 changed files with 14 additions and 8 deletions
|
|
@ -42,12 +42,12 @@ Bool ArgCheckChain(Arg arg) {
|
|||
}
|
||||
|
||||
Bool ArgCheckSize(Arg arg) {
|
||||
UNUSED(arg);
|
||||
UNUSED(arg); /* TODO: Add and call SizeCheck */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Bool ArgCheckAddr(Arg arg) {
|
||||
UNUSED(arg);
|
||||
UNUSED(arg); /* TODO: Add and call AddrCheck */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ Bool ArgCheckBool(Arg arg) {
|
|||
}
|
||||
|
||||
Bool ArgCheckCount(Arg arg) {
|
||||
UNUSED(arg);
|
||||
UNUSED(arg); /* TODO: Add and call CountCheck */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
@ -116,6 +116,8 @@ Bool ArgListCheck(ArgList args)
|
|||
}
|
||||
|
||||
|
||||
/* ArgPick -- try to pick an argument out of the argument list by keyword */
|
||||
|
||||
Bool ArgPick(ArgStruct *argOut, ArgList args, Key key) {
|
||||
Index i;
|
||||
|
||||
|
|
@ -136,14 +138,13 @@ found:
|
|||
break;
|
||||
++i;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/* C. COPYRIGHT AND LICENSE
|
||||
*
|
||||
* Copyright (C) 2001-2002 Ravenbrook Limited <http://www.ravenbrook.com/>.
|
||||
* Copyright (C) 2001-2013 Ravenbrook Limited <http://www.ravenbrook.com/>.
|
||||
* All rights reserved. This is an open source license. Contact
|
||||
* Ravenbrook for commercial licensing options.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue