Lines 148-153
Link Here
|
148 |
; -------------- "C" functions |
148 |
; -------------- "C" functions |
149 |
;(c-lines "#include \"fastcgi.h\"~%"); completely wrapped |
149 |
;(c-lines "#include \"fastcgi.h\"~%"); completely wrapped |
150 |
|
150 |
|
|
|
151 |
(eval-when (compile) |
152 |
;;NB this global affects further compilations in this session |
153 |
(setq ffi:*output-c-functions* t)) |
154 |
|
151 |
; Our wrappers |
155 |
; Our wrappers |
152 |
(def-call-out fcgi_getenv (:arguments (var c-string)) (:return-type c-string)) |
156 |
(def-call-out fcgi_getenv (:arguments (var c-string)) (:return-type c-string)) |
153 |
(def-call-out fcgi_env (:arguments) (:return-type (c-array-ptr c-string) :malloc-free)) |
157 |
(def-call-out fcgi_env (:arguments) (:return-type (c-array-ptr c-string) :malloc-free)) |