Skip to content

"fix void pointer args ifor function prototype pointe#16

Draft
enometh wants to merge 1 commit into
borodust:masterfrom
enometh:fix-void-function-prototype-pointer
Draft

"fix void pointer args ifor function prototype pointe#16
enometh wants to merge 1 commit into
borodust:masterfrom
enometh:fix-void-function-prototype-pointer

Conversation

@enometh
Copy link
Copy Markdown

@enometh enometh commented Mar 27, 2026

fix void pointer args ifor function prototype pointer

* src/gen/common/util.lisp: (iffi->cffi-type):
fix breakage from commit 6855df9
"Add Add iffi type :function-prototype-pointer"
which breaks generation on declarations of the form

"
typedef int (*foo) (void *);
"
by incorrectly generating
```
(cffi:defctype test-1::foo :void)
```
instead of

```
(cffi:defctype test-1::foo (:pointer :void))
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant