This is an automated email from the ASF dual-hosted git repository.
xjiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mnemonic.git
The following commit(s) were added to refs/heads/master by this push:
new f620f57 MNEMONIC-755: Add
org_apache_mnemonic_service_memory_internal_VMemServiceImpl.h to memkind memory
service
f620f57 is described below
commit f620f576e8961f435b23f712cd0f771a83b33b11
Author: Xiaojin Jiao <[email protected]>
AuthorDate: Tue Aug 16 22:14:30 2022 -0700
MNEMONIC-755: Add
org_apache_mnemonic_service_memory_internal_VMemServiceImpl.h to memkind memory
service
Signed-off-by: Xiaojin Jiao <[email protected]>
---
...monic_service_memory_internal_VMemServiceImpl.h | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git
a/mnemonic-memory-services/mnemonic-memkind-pmem-service/src/main/native/org_apache_mnemonic_service_memory_internal_VMemServiceImpl.h
b/mnemonic-memory-services/mnemonic-memkind-pmem-service/src/main/native/org_apache_mnemonic_service_memory_internal_VMemServiceImpl.h
new file mode 100644
index 0000000..6bb3fb4
--- /dev/null
+++
b/mnemonic-memory-services/mnemonic-memkind-pmem-service/src/main/native/org_apache_mnemonic_service_memory_internal_VMemServiceImpl.h
@@ -0,0 +1,48 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <jni.h>
+/* Header for class
org_apache_mnemonic_service_memory_internal_VMemServiceImpl */
+
+#include "common.h"
+
+#ifndef _Included_org_apache_mnemonic_service_memory_internal_VMemServiceImpl
+#define _Included_org_apache_mnemonic_service_memory_internal_VMemServiceImpl
+#ifdef __cplusplus
+extern "C" {
+#endif
+/*
+ * Class: org_apache_mnemonic_service_memory_internal_VMemServiceImpl
+ * Method: jniInit
+ * Signature: (II)V
+ */
+JNIEXPORT void JNICALL
Java_org_apache_mnemonic_service_memory_internal_VMemServiceImpl_jniInit
+(JNIEnv *, jobject, jint, jint);
+
+/*
+ * Class: org_apache_mnemonic_service_memory_internal_VMemServiceImpl
+ * Method: jniTerm
+ * Signature: ()V
+ */
+JNIEXPORT void JNICALL
Java_org_apache_mnemonic_service_memory_internal_VMemServiceImpl_jniTerm
+(JNIEnv *, jobject);
+
+#ifdef __cplusplus
+}
+#endif
+#endif