~ubuntu-branches/debian/experimental/subversion/experimental

« back to all changes in this revision

Viewing changes to subversion/bindings/javahl/native/org_apache_subversion_javahl_types_VersionExtended.cpp

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2015-07-16 19:39:54 UTC
  • mfrom: (0.1.13)
  • Revision ID: package-import@ubuntu.com-20150716193954-6ueu2w62h4h556xh
Tags: 1.9.0~rc3-1
* New upstream pre-release.
* Point the Vcs-* URLs at the right directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "JNIStackElement.h"
34
34
#include <string>
35
35
 
 
36
#include "svn_private_config.h"
 
37
 
36
38
// VersionExtended native methods
37
39
 
 
40
JNIEXPORT void JNICALL
 
41
Java_org_apache_subversion_javahl_types_VersionExtended_dispose(
 
42
    JNIEnv *env, jobject jthis)
 
43
{
 
44
  JNIEntry(VersionExtended, dispose);
 
45
  VersionExtended *const vx = VersionExtended::getCppObject(jthis);
 
46
  if (vx == NULL)
 
47
    {
 
48
      JNIUtil::throwError(_("bad C++ this"));
 
49
      return;
 
50
    }
 
51
  vx->dispose(jthis);
 
52
}
 
53
 
38
54
JNIEXPORT jstring JNICALL
39
55
Java_org_apache_subversion_javahl_types_VersionExtended_getBuildDate(
40
56
    JNIEnv *env, jobject jthis)