- changed foreign accessors and mutator names to have '-c-' in their

names as suggested by Ken Dickey.
This commit is contained in:
Abdulaziz Ghuloum
2008-10-12 02:06:25 -04:00
parent 811c94361b
commit 1be0f2af6e
12 changed files with 246 additions and 222 deletions
+3 -3
View File
@@ -6,13 +6,13 @@
(define kProcessTransformToForegroundApplication 1)
(define self (dlopen))
(define get-current-process
((make-callout 'void '(pointer))
((make-c-callout 'void '(pointer))
(dlsym self "GetCurrentProcess")))
(define transform-process-type
((make-callout 'void '(pointer signed-int))
((make-c-callout 'void '(pointer signed-int))
(dlsym self "TransformProcessType")))
(define set-front-process
((make-callout 'void '(pointer))
((make-c-callout 'void '(pointer))
(dlsym self "SetFrontProcess")))
(let ([p (malloc 16)])
(get-current-process p)