8000 Introduce C ABI compatible layer · Issue #10 · JakubSzark/zig-string · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Introduce C ABI compatible layer #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
thechampagne opened this issue Jun 3, 2023 · 2 comments
Open

Introduce C ABI compatible layer #10

thechampagne opened this issue Jun 3, 2023 · 2 comments

Comments

@thechampagne
Copy link
Contributor

I wrote an interface to make the library accessible by any language that support C FFI.
link 👍

@thechampagne
Copy link
Contributor Author

Does .capacity() and .size have the same value ?

@liummistaken
Copy link

Does .capacity() and .size have the same value ?

No, it's more like ArrayList's capacity vs len, capacity is the allocated storage len, size == how much actual content is in it. See methods like .removeRange()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0