JNI is wanky. Finally about to return an object from C++ to Java/Kotlin
This commit is contained in:
@@ -15,7 +15,10 @@ namespace repository {
|
||||
class SongRepository {
|
||||
public:
|
||||
std::vector<model::Song> fetchSongs(const std::string&, const std::string&);
|
||||
|
||||
model::Song retrieveSong(const std::string&, const int);
|
||||
private:
|
||||
static size_t respBodyRetriever(void*, size_t, size_t, char*);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user