X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=examples%2Fgethostname.cl;h=e90e7dadfae9d2ea52e5b66867c735b8592f5119;hb=0b1b0d4ad19bb43dd082376b26acbb784b28b0e1;hp=dc318225ecf76090cd885b2b310b1a7fb208b596;hpb=bf5c7e7c36474375604bcbcedea8794a68dd1784;p=uffi.git diff --git a/examples/gethostname.cl b/examples/gethostname.cl index dc31822..e90e7da 100644 --- a/examples/gethostname.cl +++ b/examples/gethostname.cl @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: gethostname.cl,v 1.5 2002/03/14 21:03:12 kevin Exp $ +;;;; $Id: gethostname.cl,v 1.6 2002/03/19 16:42:59 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -22,7 +22,7 @@ ;;; This example is inspired by the example on the CL-Cookbook web site (uffi:def-function ("gethostname" c-gethostname) - ((name :cstring) + ((name (* :unsigned-char)) (len :int)) :returning :int)