projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1539: *** empty log message ***
[uffi.git]
/
examples
/
getenv.cl
diff --git
a/examples/getenv.cl
b/examples/getenv.cl
index c6da2a0c9bff1cefaaa8014f708f7e920feae498..043e7fca72ed6b93d0704d344f0c0dff05ec1e5f 100644
(file)
--- a/
examples/getenv.cl
+++ b/
examples/getenv.cl
@@
-9,7
+9,7
@@
;;;;
;;;; Copyright (c) 2002 Kevin M. Rosenberg
;;;;
;;;;
;;;; Copyright (c) 2002 Kevin M. Rosenberg
;;;;
-;;;; $Id: getenv.cl,v 1.
5 2002/03/10 11:13:07
kevin Exp $
+;;;; $Id: getenv.cl,v 1.
6 2002/03/10 17:42:35
kevin Exp $
;;;;
;;;; This file is part of UFFI.
;;;;
;;;;
;;;; This file is part of UFFI.
;;;;
@@
-38,8
+38,7
@@
"Returns an environment variable, or NIL if it does not exist"
(check-type key string)
(uffi:with-cstring (key-native key)
"Returns an environment variable, or NIL if it does not exist"
(check-type key string)
(uffi:with-cstring (key-native key)
- (let ((value-cstring (c-getenv key-native)))
- (uffi:convert-from-cstring value-cstring))))
+ (uffi:convert-from-cstring (c-getenv key-native))))
#+test-uffi
(progn
#+test-uffi
(progn