javacpp icon indicating copy to clipboard operation
javacpp copied to clipboard

The missing bridge between Java and native C++

Results 105 javacpp issues
Sort by recently updated
recently updated
newest added

Here is a demo ```cpp #include class MyType { public: MyType() : a(0) {} MyType(int i) : a(i) {} int a; }; class MyTypeUser { public: void use(MyType* a, int...

enhancement
help wanted
question

Hello, I'm writing an interface to a mipi camera and have written a c++ facade over the mipi driver to simplify the calling and then compiled this into a jar...

help wanted
question

Our cpp code looks like this ```cpp enum Types { FLOAT = 1, DOUBLE = 2, ... } template int search(const float *vec, size_t dim) { ... } template int...

bug
enhancement
help wanted

I have enum class that was created by Parser by using `new Info("name").enumerate()`. When I pass it to native method (field setter), my app crashes with following error: ``` A/queim.tremotes:...

enhancement
help wanted

Here's a demo ```cpp #include class Out { public: class Inner { public: }; }; ``` ```java infoMap.put(new Info("std::vector").pointerTypes("InnerVector").define()); ``` Here is InnerVector.java generated ```java @Name("std::vector") @Properties(inherit = ...) public...

enhancement
help wanted
question

I try to add per-class NoException annotation instead of per-function ``` infoMap.put(new Info("namespace::Someclass").annotations("@NoException")); ``` got the following errors ``` annotation type not applicable to this kind of declaration ``` the...

enhancement
help wanted

Trying to get this working: https://github.com/bytedeco/javacpp/wiki/Interface-Thrust-and-CUDA Everything seems to compile as expected. However, when I go to run the main application, I get the following error: ``` java.lang.RuntimeException: radix_sort: failed...

bug
help wanted

Following preset code attempts to create an instance of a template: ```java new Info("Spinnaker::GenApi::IEnumerationT").pointerTypes("EInterfaceType").define() ``` Usage of the template in the generated Java code is correctly replaced with `EInterfaceType`. However,...

bug
enhancement
help wanted

One of the patterns of using C `enum`s is to use them in combination with `typedef` (for instance in Spinnaker API). Consider following `enum` definition. ```cpp typedef enum _ENameSpace {...

bug

I want known if I call Pointer#close(), is or not shoule be call avformat.avformat_close_input && avformat.avformat_free_context

enhancement
help wanted