JuliaWeb / JuliaWeb/LibCURL.jl
struct testing...
- Dominant language
- Julia
- Stars
- 35
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
In case you are interested in trying to push this further with structs, I pushed a branch with generated Julia types for all the cURL structs (I didn't merge this stuff into the generator yet, needs a few tweaks still for more complicated structs):
https://github.com/ihnorton/libCURL.jl/tree/struct_test
There are (at least) three structs with unsupported field types (you can tell by searching for ::Void):
CURLMsg
curl_fileinfo
curl_sockaddr
If you need these, it will be necessary to use StrPack as discussed by @pao (https://groups.google.com/d/msg/julia-dev/p6DUUSdtY2A/CR3zeC3QyeIJ)
Also, for the other ones you may need to change "type" to "immutable" in the declarations in order to make sure isbits(type) == true (see: https://groups.google.com/d/msg/julia-dev/jiJpHlgLZkA/ftClOEROlLYJ )
If you have a chance to try it I will be very interested to see the results! (also any issues)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.