本文整理汇总了C++中JNIEntry函数的典型用法代码示例。如果您正苦于以下问题:C++ JNIEntry函数的具体用法?C++ JNIEntry怎么用?C++ JNIEntry使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了JNIEntry函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: Java_org_apache_subversion_javahl_remote_RemoteSession_finalize
JNIEXPORT void JNICALL
Java_org_apache_subversion_javahl_remote_RemoteSession_finalize(
JNIEnv *env, jobject jthis)
{
JNIEntry(RemoteSession, finalize);
RemoteSession *ras = RemoteSession::getCppObject(jthis);
if (ras != NULL)
ras->finalize();
}
开发者ID:geofft,项目名称:subversion,代码行数:9,代码来源:org_apache_subversion_javahl_remote_RemoteSession.cpp
示例2: JNIEntry
JNIEXPORT void JNICALL
Java_org_apache_subversion_javahl_SVNClient_finalize
(JNIEnv *env, jobject jthis)
{
JNIEntry(SVNClient, finalize);
SVNClient *cl = SVNClient::getCppObject(jthis);
if (cl != NULL)
cl->finalize();
}
开发者ID:dtrebbien,项目名称:subversion,代码行数:9,代码来源:org_apache_subversion_javahl_SVNClient.cpp
示例3: Java_org_apache_subversion_javahl_remote_StateReporter_abortReport
JNIEXPORT void JNICALL
Java_org_apache_subversion_javahl_remote_StateReporter_abortReport(
JNIEnv* env, jobject jthis)
{
JNIEntry(StateReporter, abortReport);
StateReporter* reporter = StateReporter::getCppObject(jthis);
CPPADDR_NULL_PTR(reporter,);
reporter->abortReport();
}
开发者ID:geofft,项目名称:subversion,代码行数:9,代码来源:org_apache_subversion_javahl_remote_StateReporter.cpp
示例4: Java_org_apache_subversion_javahl_remote_StateReporter_finishReport
JNIEXPORT jlong JNICALL
Java_org_apache_subversion_javahl_remote_StateReporter_finishReport(
JNIEnv* env, jobject jthis)
{
JNIEntry(StateReporter, finishReport);
StateReporter* reporter = StateReporter::getCppObject(jthis);
CPPADDR_NULL_PTR(reporter, SVN_INVALID_REVNUM);
return reporter->finishReport();
}
开发者ID:geofft,项目名称:subversion,代码行数:9,代码来源:org_apache_subversion_javahl_remote_StateReporter.cpp
示例5: Java_org_apache_subversion_javahl_remote_RemoteSession_nativeDispose
JNIEXPORT void JNICALL
Java_org_apache_subversion_javahl_remote_RemoteSession_nativeDispose(
JNIEnv *env, jobject jthis)
{
JNIEntry(RemoteSession, nativeDispose);
RemoteSession *ras = RemoteSession::getCppObject(jthis);
if (ras != NULL)
ras->dispose(jthis);
}
开发者ID:geofft,项目名称:subversion,代码行数:9,代码来源:org_apache_subversion_javahl_remote_RemoteSession.cpp
示例6: Java_org_apache_subversion_javahl_remote_StateReporter_deletePath
JNIEXPORT void JNICALL
Java_org_apache_subversion_javahl_remote_StateReporter_deletePath(
JNIEnv* env, jobject jthis, jstring jpath)
{
JNIEntry(StateReporter, deletePath);
StateReporter* reporter = StateReporter::getCppObject(jthis);
CPPADDR_NULL_PTR(reporter,);
reporter->deletePath(jpath);
}
开发者ID:geofft,项目名称:subversion,代码行数:9,代码来源:org_apache_subversion_javahl_remote_StateReporter.cpp
示例7: Java_org_apache_subversion_javahl_remote_StateReporter_nativeDispose
JNIEXPORT void JNICALL
Java_org_apache_subversion_javahl_remote_StateReporter_nativeDispose(
JNIEnv* env, jobject jthis)
{
JNIEntry(StateReporter, nativeCreateInstance);
StateReporter* reporter = StateReporter::getCppObject(jthis);
CPPADDR_NULL_PTR(reporter,);
reporter->dispose(jthis);
}
开发者ID:geofft,项目名称:subversion,代码行数:9,代码来源:org_apache_subversion_javahl_remote_StateReporter.cpp
示例8: Java_org_apache_subversion_javahl_remote_StateReporter_finalize
JNIEXPORT void JNICALL
Java_org_apache_subversion_javahl_remote_StateReporter_finalize(
JNIEnv *env, jobject jthis)
{
JNIEntry(StateReporter, finalize);
StateReporter *reporter = StateReporter::getCppObject(jthis);
if (reporter != NULL)
reporter->finalize();
}
开发者ID:geofft,项目名称:subversion,代码行数:9,代码来源:org_apache_subversion_javahl_remote_StateReporter.cpp
示例9: Java_org_apache_subversion_javahl_types_VersionExtended_00024LoadedLib_getVersion
JNIEXPORT jstring JNICALL
Java_org_apache_subversion_javahl_types_VersionExtended_00024LoadedLib_getVersion(
JNIEnv *env, jobject jthis)
{
JNIEntry(VersionExtended$LoadedLib, getVersion);
const svn_version_ext_loaded_lib_t *const lib = getLoadedLib(env, jthis);
if (lib)
return env->NewStringUTF(lib->version);
return 0;
}
开发者ID:gunjanms,项目名称:svnmigration,代码行数:10,代码来源:org_apache_subversion_javahl_types_VersionExtended.cpp
示例10: Java_org_apache_subversion_javahl_remote_RemoteSession_getRevisionByTimestamp
JNIEXPORT jlong JNICALL
Java_org_apache_subversion_javahl_remote_RemoteSession_getRevisionByTimestamp(
JNIEnv *env, jobject jthis, jlong timestamp)
{
JNIEntry(RemoteSession, getDatedRevision);
RemoteSession *ras = RemoteSession::getCppObject(jthis);
CPPADDR_NULL_PTR(ras, SVN_INVALID_REVNUM);
return ras->getRevisionByTimestamp(timestamp);
}
开发者ID:geofft,项目名称:subversion,代码行数:10,代码来源:org_apache_subversion_javahl_remote_RemoteSession.cpp
示例11: Java_org_apache_subversion_javahl_remote_RemoteSession_getReposRootUrl
JNIEXPORT jstring JNICALL
Java_org_apache_subversion_javahl_remote_RemoteSession_getReposRootUrl(
JNIEnv *env, jobject jthis)
{
JNIEntry(RemoteSession, geRepostUUID);
RemoteSession *ras = RemoteSession::getCppObject(jthis);
CPPADDR_NULL_PTR(ras, NULL);
return ras->getReposRootUrl();
}
开发者ID:geofft,项目名称:subversion,代码行数:10,代码来源:org_apache_subversion_javahl_remote_RemoteSession.cpp
示例12: Java_org_apache_subversion_javahl_types_VersionExtended_getBuildDate
JNIEXPORT jstring JNICALL
Java_org_apache_subversion_javahl_types_VersionExtended_getBuildDate(
JNIEnv *env, jobject jthis)
{
JNIEntry(VersionExtended, getBuildDate);
const VersionExtended *const vx = VersionExtended::getCppObject(jthis);
if (vx)
return env->NewStringUTF(vx->build_date());
return 0;
}
开发者ID:gunjanms,项目名称:svnmigration,代码行数:10,代码来源:org_apache_subversion_javahl_types_VersionExtended.cpp
示例13: Java_org_apache_subversion_javahl_types_VersionExtended_getRuntimeHost
JNIEXPORT jstring JNICALL
Java_org_apache_subversion_javahl_types_VersionExtended_getRuntimeHost(
JNIEnv *env, jobject jthis)
{
JNIEntry(VersionExtended, getRuntimeHost);
const VersionExtended *const vx = VersionExtended::getCppObject(jthis);
if (vx)
return env->NewStringUTF(vx->runtime_host());
return 0;
}
开发者ID:gunjanms,项目名称:svnmigration,代码行数:10,代码来源:org_apache_subversion_javahl_types_VersionExtended.cpp
示例14: Java_org_apache_subversion_javahl_remote_RemoteSession_getReposRelativePath
JNIEXPORT jstring JNICALL
Java_org_apache_subversion_javahl_remote_RemoteSession_getReposRelativePath(
JNIEnv *env, jobject jthis, jstring jurl)
{
JNIEntry(RemoteSession, getSessionUrl);
RemoteSession *ras = RemoteSession::getCppObject(jthis);
CPPADDR_NULL_PTR(ras, NULL);
return ras->getReposRelativePath(jurl);
}
开发者ID:geofft,项目名称:subversion,代码行数:10,代码来源:org_apache_subversion_javahl_remote_RemoteSession.cpp
示例15: Java_org_apache_subversion_javahl_remote_RemoteSession_reparent
JNIEXPORT void JNICALL
Java_org_apache_subversion_javahl_remote_RemoteSession_reparent(
JNIEnv *env, jobject jthis, jstring jurl)
{
JNIEntry(RemoteSession, getSessionUrl);
RemoteSession *ras = RemoteSession::getCppObject(jthis);
CPPADDR_NULL_PTR(ras, );
ras->reparent(jurl);
}
开发者ID:geofft,项目名称:subversion,代码行数:10,代码来源:org_apache_subversion_javahl_remote_RemoteSession.cpp
示例16: Java_org_apache_subversion_javahl_remote_RemoteSession_getRevisionProperty
JNIEXPORT jbyteArray JNICALL
Java_org_apache_subversion_javahl_remote_RemoteSession_getRevisionProperty(
JNIEnv *env, jobject jthis, jlong jrevision, jstring jname)
{
JNIEntry(SVNReposAccess, getRevisionProperty);
RemoteSession *ras = RemoteSession::getCppObject(jthis);
CPPADDR_NULL_PTR(ras, NULL);
return ras->getRevisionProperty(jrevision, jname);
}
开发者ID:geofft,项目名称:subversion,代码行数:10,代码来源:org_apache_subversion_javahl_remote_RemoteSession.cpp
示例17: Java_org_apache_subversion_javahl_remote_RemoteSession_nativeHasCapability
JNIEXPORT jboolean JNICALL
Java_org_apache_subversion_javahl_remote_RemoteSession_nativeHasCapability(
JNIEnv *env, jobject jthis, jstring jcapability)
{
JNIEntry(RemoteSession, nativeHasCapability);
RemoteSession *ras = RemoteSession::getCppObject(jthis);
CPPADDR_NULL_PTR(ras, false);
return ras->hasCapability(jcapability);
}
开发者ID:geofft,项目名称:subversion,代码行数:10,代码来源:org_apache_subversion_javahl_remote_RemoteSession.cpp
示例18: Java_org_apache_subversion_javahl_remote_RemoteSession_cancelOperation
JNIEXPORT void JNICALL
Java_org_apache_subversion_javahl_remote_RemoteSession_cancelOperation(
JNIEnv *env, jobject jthis)
{
JNIEntry(RemoteSession, cancelOperation);
RemoteSession *ras = RemoteSession::getCppObject(jthis);
CPPADDR_NULL_PTR(ras, );
ras->cancelOperation();
}
开发者ID:geofft,项目名称:subversion,代码行数:10,代码来源:org_apache_subversion_javahl_remote_RemoteSession.cpp
示例19: Java_org_apache_subversion_javahl_remote_RemoteSession_getLocks
JNIEXPORT jobject JNICALL
Java_org_apache_subversion_javahl_remote_RemoteSession_getLocks(
JNIEnv *env, jobject jthis, jstring jpath, jobject jdepth)
{
JNIEntry(RemoteSession, getLocks);
RemoteSession *ras = RemoteSession::getCppObject(jthis);
CPPADDR_NULL_PTR(ras, NULL);
return ras->getLocks(jpath, jdepth);
}
开发者ID:geofft,项目名称:subversion,代码行数:10,代码来源:org_apache_subversion_javahl_remote_RemoteSession.cpp
示例20: Java_org_apache_subversion_javahl_remote_RemoteSession_stat
JNIEXPORT jobject JNICALL
Java_org_apache_subversion_javahl_remote_RemoteSession_stat(
JNIEnv *env, jobject jthis, jstring jpath, jlong jrevision)
{
JNIEntry(SVNReposAccess, stat);
RemoteSession *ras = RemoteSession::getCppObject(jthis);
CPPADDR_NULL_PTR(ras, NULL);
return ras->stat(jpath, jrevision);
}
开发者ID:geofft,项目名称:subversion,代码行数:10,代码来源:org_apache_subversion_javahl_remote_RemoteSession.cpp
注:本文中的JNIEntry函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论