Revision: 41359
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41359&view=rev
Author:   starseeker
Date:     2010-11-15 21:30:46 +0000 (Mon, 15 Nov 2010)

Log Message:
-----------
Rename routines in accordance with r41328

Modified Paths:
--------------
    brlcad/trunk/src/librtserver/rtserver.c

Modified: brlcad/trunk/src/librtserver/rtserver.c
===================================================================
--- brlcad/trunk/src/librtserver/rtserver.c     2010-11-15 19:56:38 UTC (rev 
41358)
+++ brlcad/trunk/src/librtserver/rtserver.c     2010-11-15 21:30:46 UTC (rev 
41359)
@@ -1810,7 +1810,7 @@
     }
     
     /* create the java byte array to be returned */
-    len = bu_vlb_getBufferLength(vlb);
+    len = bu_vlb_buflen(vlb);
     array = (*env)->NewByteArray( env, len );
     if ( (*env)->ExceptionOccurred(env) ) {
        fprintf( stderr, "Exception thrown while creating byte array\n" );
@@ -1818,7 +1818,7 @@
         FINISH_APPLICATION(ap);
        return (jobject)NULL;
     }
-    (*env)->SetByteArrayRegion(env, array, 0, len, (jbyte 
*)bu_vlb_getBuffer(vlb) );
+    (*env)->SetByteArrayRegion(env, array, 0, len, (jbyte *)bu_vlb_addr(vlb) );
     if ( (*env)->ExceptionOccurred(env) ) {
        fprintf( stderr, "Exception thrown while setting byte array contents\n" 
);
        (*env)->ExceptionDescribe(env);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to