Skip to content

Add FFI bindings for libcurl's lifecycle management APIs #657

@rdw-software

Description

@rdw-software

Separate tracking issue (mostly for testing GitHub's new sub-issues feature...).

Bindings coverage:

  • curl_free (should be handled by LuaJIT itself, but it could still be exposed anyway?)
  • curl_global_cleanup (handled by the runtime)
  • curl_global_init (handled by the runtime)
  • curl_global_init_mem (should probably be handled by the runtime as well?)

Some of them probably shouldn't be exported as the environment is managed by the runtime itself.

The individual data types also have their own allocation/deallocation methods. These could be handled with ffi.gc?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Improvement is key (Get in here)

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions