Luc Sarzyniec
Luc Sarzyniec
It looks like I missed this issue somehow, sorry for this. I think it would worth it to open a bug in _crystal_lib_ or bring the discussion to #crystal-lang as...
Hey @watzon, sorry for the late answer. Great work in debugging and figuring out the issue! 😃 Thanks for reporting it to _crystal_lib_. I'll try to come up with a...
Np, I added a comment with a small example to https://github.com/crystal-lang/crystal_lib/pull/69 :+1:
I gave a quick look at the _raylib.h_ header and it doesn't look that any function has the _rl__ prefix in this file which explains the error. You can have...
> Also: I believe the word you are looking for the word syntactically, not syntaxically 😄 Oh yeah, I'll fix it. Thanks for the hint :) My guess is that...
Is it working now?
Hello @watzon, sorry for the late answer. AFAIK it's not possible to do it using _crystal_lib_ as is. I'm going to check if it's possible to quick patch it to...
I gave it a try. The main issue is that without filtering, your _lib_ will be polluted by a bunch of declarations for the functions in the headers the library...
However there are probably some options I'm not aware of to implement this. It probably worth it to ask the question on #crystal-lang or to open an issue on the...
If you're interested by the feature, here is [the branch](https://github.com/olbat/crystal_lib/tree/add-generic-importer) with the code I worked on. I doubt it will make it upstream but feel free to use it to...