aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java/native/com_libmailcore_SMTPOperation.cpp
blob: 1f70eda891eec96822bfb12a4eccf5a60f34a938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "com_libmailcore_SMTPOperation.h"

#include "MCBaseTypes.h"
#include "JavaHandle.h"
#include "TypesUtils.h"
#include "MCSMTPOperation.h"

using namespace mailcore;

#define nativeType SMTPOperation
#define javaType nativeType

JNIEXPORT jint JNICALL Java_com_libmailcore_SMTPOperation_errorCode
  (JNIEnv * env, jobject obj)
{
    MC_POOL_BEGIN;
    jint result = MC_JAVA_BRIDGE_GET_SCALAR(jint, error);
    MC_POOL_END;
    return result;
}

MC_JAVA_BRIDGE