Skip to content
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

Implement external data constructors #11

Open
Veykril opened this issue May 11, 2019 · 0 comments
Open

Implement external data constructors #11

Veykril opened this issue May 11, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@Veykril
Copy link
Owner

Veykril commented May 11, 2019

Some objects can be constructed with external data, those functions take a function pointer to clean up the data when it isnt needed anymore. I am not sure how one could properly implement this yet.
As of now the following functions exist:

Array: https://github.com/blend2d/blend2d/blob/69141350b5a654f328c8529ae301aa1e6bad5342/src/blend2d/blapi.h#L1388
FontLoader: https://github.com/blend2d/blend2d/blob/69141350b5a654f328c8529ae301aa1e6bad5342/src/blend2d/blapi.h#L1589
Image: https://github.com/blend2d/blend2d/blob/69141350b5a654f328c8529ae301aa1e6bad5342/src/blend2d/blapi.h#L1651

@Veykril Veykril changed the title Implement external data costructors Implement external data constructors May 20, 2019
@Veykril Veykril added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant