- IfcJni: Fix access violation errors by creating a copy of the byte[]

- Add version identifier to bimserver_plugin and IfcJni
This commit is contained in:
Thomas Krijnen
2012-01-24 13:38:37 +00:00
parent 456adceef9
commit 644ff7c033
4 changed files with 80 additions and 60 deletions
@@ -23,6 +23,14 @@ JNIEXPORT jobject JNICALL Java_org_ifcopenshell_IfcOpenShellModel_getGeometry
JNIEXPORT jboolean JNICALL Java_org_ifcopenshell_IfcOpenShellModel_setIfcData
(JNIEnv *, jobject, jbyteArray);
/*
* Class: org_ifcopenshell_IfcOpenShellModel
* Method: getPluginVersion
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_ifcopenshell_IfcOpenShellModel_getPluginVersion
(JNIEnv *, jobject);
#ifdef __cplusplus
}
#endif