Skip to content

Losing java references when mapping std::vector::at std::vector::at aka 'get' @ByRef #779

Answered by saudet
carlostp12 asked this question in Q&A
Discussion options

You must be logged in to vote

You could insert a @ByVal method with Info.javaText() I guess, but if you're only worried about the life of the reference
Please try to use PointerScope: http://bytedeco.org/news/2018/07/17/bytedeco-as-distribution/

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@carlostp12
Comment options

@saudet
Comment options

Answer selected by carlostp12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants