提交 | 用户 | 时间
|
f7932f
|
1 |
#pragma once |
D |
2 |
#include "pch.h" |
|
3 |
#include "stdafx.h" |
|
4 |
#include <iostream> |
|
5 |
#include "iostream" |
|
6 |
#include "jni.h" |
|
7 |
#include "Python.h" |
|
8 |
|
|
9 |
using namespace std; |
|
10 |
|
|
11 |
|
|
12 |
#ifdef CONVERTUTILS_EXPORTS |
|
13 |
#define CONVERTUTILS_API __declspec(dllexport) |
|
14 |
#else |
|
15 |
#define CONVERTUTILS_API __declspec(dllimport) |
|
16 |
#endif |
|
17 |
|
|
18 |
// java��ά��������תpython��ά�������� |
|
19 |
extern "C" CONVERTUTILS_API PyObject * ConvertJdarrToPydarr(JNIEnv * env, jobjectArray data); |
|
20 |
// java�Ĺ�ϣ����תpython���ֵ����� |
|
21 |
extern "C" CONVERTUTILS_API PyObject* ConvertJhmapToPydict(JNIEnv* env, jobject data_in); |
|
22 |
// python���ֵ�����תjava�Ĺ�ϣ���� |
|
23 |
extern "C" CONVERTUTILS_API jobject ConvertPydictToJhmap(JNIEnv* env, PyObject* settings); |