diff src/getset.h @ 49:2db3640905ef

Rewrite RealTime so as not to use a native object handle, removing onerous and unsatisfactory requirement to call dispose() on all RealTime objects or leak native heap
author Chris Cannam
date Wed, 02 Sep 2015 15:17:40 +0100
parents c9515589be7d
children 2b8e1416327d
line wrap: on
line diff
--- a/src/getset.h	Wed Mar 06 15:08:40 2013 +0000
+++ b/src/getset.h	Wed Sep 02 15:17:40 2015 +0100
@@ -45,6 +45,9 @@
 extern int
 getIntField(JNIEnv *env, jobject obj, std::string name);
 
+extern Vamp::RealTime
+getRealTime(JNIEnv *env, jobject obj); // where obj is a RealTime object
+    
 extern void
 setStringField(JNIEnv *env, jobject obj, std::string name, std::string value);