Dave’s Brain
Home
Search
Browse
Recent
Keywords
Other sites
Feedback
Sign in
Random
Crawlers
Programming Tips
- Java: How can I do a C/C++ style void * in Java?
Date:
2012feb28
Language:
Java
Q.
Java: How can I do a C/C++ style void * in Java?
A.
Use Object to pass a generic blob. In C/C++:
myfunc
(
void
*
userdata
);
In Java:
myfunc
(
Object
userdata
);