[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 613 - trunk/subversion/bindings/java/jni

From: Alexander Mueller <alex_at_littleblue.de>
Date: 2001-12-06 16:32:54 CET

Probably you are right. But anyhow. First I would like to SEE something happen in the Java subversion library. I tried it to be as pretty as possible. But there was a LOT of overhead
dealing with Java/Apr/Svn/C. So now I just want to be able to run a simple "status" request
from Java. As soon as this works I will re-enable the svn_jni_ prefix.

Alex

Greg Stein schrieb:

> On Wed, Dec 05, 2001 at 04:25:29PM -0600, XelaRellum@tigris.org wrote:
> >...
> > --- OLD/trunk/subversion/bindings/java/jni/item.c Wed Dec 5 16:25:29 2001
> > +++ NEW/trunk/subversion/bindings/java/jni/item.c Wed Dec 5 16:25:29 2001
> >...
> > @@ -27,8 +27,8 @@
> > * utility function to create a java Item
> > */
> > jobject
> > -svn_jni_item__create(JNIEnv *env, jobject jpath, jobject jstatus,
> > - jboolean *hasException)
> > +item__create(JNIEnv *env, jobject jpath, jobject jstatus,
> > + jboolean *hasException)
> > {
>
> Any function that is linker-visible from a library *must* have the svn
> prefix. Since the above function does not have "static" on it, then it must
> include the prefix.
>
> The prefix on a function doesn't have to match the filename. So you can
> still call it item.c and have svn_jni_* function in there.
>
> I might suggest svn_jni__item_create() since the function "item_create" is
> the unit, and is private.
>
> Cheers,
> -g
>
> --
> Greg Stein, http://www.lyra.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:51 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.