Commit d31bab93 authored by Ryan Pavlik's avatar Ryan Pavlik
Browse files

external: Update jnipp

parent a66f5673
...@@ -1480,6 +1480,10 @@ namespace jni ...@@ -1480,6 +1480,10 @@ namespace jni
((jvalue*) v)->l = env()->NewStringUTF(a); ((jvalue*) v)->l = env()->NewStringUTF(a);
} }
void valueArg(value_t* v, std::nullptr_t)
{
((jvalue*) v)->l = nullptr;
}
template <> void cleanupArg<const char*>(value_t* v) template <> void cleanupArg<const char*>(value_t* v)
{ {
......
...@@ -134,6 +134,7 @@ namespace jni ...@@ -134,6 +134,7 @@ namespace jni
void valueArg(value_t* v, const char* a); void valueArg(value_t* v, const char* a);
void valueArg(value_t* v, const std::wstring& a); void valueArg(value_t* v, const std::wstring& a);
void valueArg(value_t* v, const wchar_t* a); void valueArg(value_t* v, const wchar_t* a);
void valueArg(value_t* v, std::nullptr_t);
inline void args(value_t*) {} inline void args(value_t*) {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment