-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
We generate safe and unsafe function imports in the preprocessor (and allow users to choose in TH mode). This ticket is about not generating some of those; it might be that library authors know that some functions must be used in safe or must be used in unsafe mode, and that offering both might suggest a choice that is really not there. Thus not generating those bindings would be less likely to result in problems.
This is obviously not essential; users can simply choose not to use the functions that should not be used; and anyway, probably most hs-bindgen generated bindings will then be used to generate higher level bindings. But it's nonetheless worth considering.