projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1528: *** empty log message ***
[uffi.git]
/
examples
/
getshells.cl
diff --git
a/examples/getshells.cl
b/examples/getshells.cl
index 92ecc8bf71b78e493bd90e328fd4be65ac8cec72..50040ec99b4db81dd1e352f7286256b18cedffea 100644
(file)
--- a/
examples/getshells.cl
+++ b/
examples/getshells.cl
@@
-9,7
+9,7
@@
;;;;
;;;; Copyright (c) 2002 Kevin M. Rosenberg
;;;;
;;;;
;;;; Copyright (c) 2002 Kevin M. Rosenberg
;;;;
-;;;; $Id: getshells.cl,v 1.
1 2002/03/09 19:5
5:33 kevin Exp $
+;;;; $Id: getshells.cl,v 1.
3 2002/03/10 04:1
5:33 kevin Exp $
;;;;
;;;; This file is part of UFFI.
;;;;
;;;;
;;;; This file is part of UFFI.
;;;;
@@
-30,15
+30,15
@@
(in-package :cl-user)
(in-package :cl-user)
-(uffi:def-
routine
"setusershell"
+(uffi:def-
function
"setusershell"
nil
:returning :void)
nil
:returning :void)
-(uffi:def-
routine
"endusershell"
+(uffi:def-
function
"endusershell"
nil
:returning :void)
nil
:returning :void)
-(uffi:def-
routine
"getusershell"
+(uffi:def-
function
"getusershell"
nil
:returning :c-string)
nil
:returning :c-string)
@@
-52,6
+52,7
@@
(push shell shells))
(endusershell)
(nreverse shells)))
(push shell shells))
(endusershell)
(nreverse shells)))
-
+
+#+test-uffi
(format t "~&Shells: ~S" (getshells))
(format t "~&Shells: ~S" (getshells))