Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions