X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=examples%2Fgethostname.cl;h=e90e7dadfae9d2ea52e5b66867c735b8592f5119;hb=e1ba5e8ff148275ed252b179f43a4b045c1dcaf6;hp=dc318225ecf76090cd885b2b310b1a7fb208b596;hpb=a50727e74ea9c4582d0e965f52c336d7b10a200c;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)