Annotation of OpenXM/src/kan96xx/plugin/sm1Socket.hh, Revision 1.2
1.2 ! takayama 1: /* $OpenXM$ */
1.1 maekawa 2: else if (strcmp(key,"sm1.socket") == 0) {
3: if (size != 3) {
4: errorKan1("%s\n","[(sm1.socket) (key for sm1.socket) [ args ]] extension");
5: }
6: obj1 = getoa(obj,1);
7: obj2 = getoa(obj,2);
8: if (obj1.tag != Sdollar) {
9: errorKan1("%s\n","[(sm1.socket) (key for sm1.socket) [ args ]] extension : the second argument must be a keyword.");
10: }
11: if (obj2.tag != Sarray) {
12: errorKan1("%s\n","[(sm1.socket) (key for sm1.socket) [ args ]] extension : the third argument must be an array of argument.");
13: }
14: rob = Kplugin_sm1Socket(KopString(obj1),obj2);
15: }
16:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>