accept size parameter for polygonToCellsExperimental#947
accept size parameter for polygonToCellsExperimental#947isaacbrodsky merged 6 commits intouber:masterfrom
Conversation
|
Some basic questions since I've forgotten some of our code organization practice:
|
It depends on the level of support for this function. If this is an experimental function but we intend for bindings to mostly use the iterator approach, I don't think it needs to be there. If this is a supported API that has backwards compatibility guarantees it should be in
H3_EXPORT ensures that the symbol is visible outside of the library, and allows for it to be easily renamed. |
|
I think the level of support is explained by the But I also thought that symbols were external (e.g., supported API, "just the bindings", experimental functions) if and only if they were defined in Every symbol in the previous release followed this property. The (unreleased) Unless I'm misunderstanding something, I'm suggesting moving these to |
nrabinowitz
left a comment
There was a problem hiding this comment.
This looks fine to me, with the caveat that if we're going to do this, we should plan to change the API again in the near future to return an iterator, so that callers could stream output iteratively into different memory blocks. If we're ok with that change later, this seems fine to ship early.
Agreed, I would like to expose an iterator to the bindings. Bindings can begin experimenting with the iterators, and for other uses inthe mean time, this will be a temporary experimental API to unblock the new version. |
|
@nrabinowitz, do you mean change the API for |
I added a comment in h3api.h.in to that effect |
No description provided.