It is possible to map method with std::vector<std::string>& in its argument list?

52 views
Skip to first unread message

Thawan Kooburat

unread,
Oct 4, 2012, 2:59:01 PM10/4/12
to haw...@googlegroups.com
Hi,

I want to expose a method that has a signature like this from C++ to Java via JNI
void getList(std::vector<std::string>&);

I just skim through HawtJNI doc. I just want to know that it is possible before putting my effort, since it seems like I have to create mapping for each structure first.

Thanks,
Thawan

Hiram Chirino

unread,
Oct 4, 2012, 3:27:35 PM10/4/12
to haw...@googlegroups.com
Yep
--

Hiram Chirino

Engineering | Red Hat, Inc.

hchi...@redhat.com | fusesource.com | redhat.com

skype: hiramchirino | twitter: @hiramchirino

blog: Hiram Chirino's Bit Mojo


Thawan Kooburat

unread,
Oct 5, 2012, 4:47:49 PM10/5/12
to haw...@googlegroups.com, hi...@hiramchirino.com
Thanks a lot for your response
Reply all
Reply to author
Forward
0 new messages