- changed foreign accessors and mutator names to have '-c-' in their
names as suggested by Ken Dickey.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user