/* * file ckmsum.c * * Module of MacKermit containing MACTRAP calls, currently only one, * mygetitem which replaces getitem when dealing with DA names. * * The routine GetItem converted the menu item from a pascal to a C * string, this made it very hard to deal with DA names which have * imbedded nulls. You could get DA names with NULLs working, or * DA names without NULLs working (like the switcher) but you couldn't * get them both working. * * * Copyright (C) 1985, Trustees of Columbia University in the City of * New York. Permission is granted to any individual or institution to * use, copy, or redistribute this software so long as it is not sold * for profit, provided this copyright notice is retained. * */ #include "mac/quickdraw.h" #undef h #undef v #include "mac/osintf.h" #include "mac/toolintf.h" #include "mac/libmac.h" /*ARGSUSED*/ void mygetitem(m,i,s) MenuHandle m; char *s; { _mact3(RN,0xa946,N,L,S,L); /* return L not VPS */ }