public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Generate instances of all ID variables.
@ 2008-05-14 17:38 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2008-05-14 17:38 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  5f5ad9c629bb9f8301878f47278bf5b816ab3fe3 (commit)
      from  2e8fe2df0981ab97667bcdf302897ad9028d6855 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 5f5ad9c629bb9f8301878f47278bf5b816ab3fe3
Author: Andrew Cagney <cagney@redhat.com>
Date:   Wed May 14 13:37:23 2008 -0400

    Generate instances of all ID variables.
    
    frysk-sys/frysk/jnixx/ChangeLog
    2008-05-14  Andrew Cagney  <cagney@redhat.com>
    
    	* PrintCxxDefinitions.java: Generate ID variables.

-----------------------------------------------------------------------

Summary of changes:
 frysk-sys/frysk/jnixx/ChangeLog                |    2 ++
 frysk-sys/frysk/jnixx/PrintCxxDefinitions.java |    6 ++++++
 2 files changed, 8 insertions(+), 0 deletions(-)

First 500 lines of diff:
diff --git a/frysk-sys/frysk/jnixx/ChangeLog b/frysk-sys/frysk/jnixx/ChangeLog
index 93ad5c8..deaf968 100644
--- a/frysk-sys/frysk/jnixx/ChangeLog
+++ b/frysk-sys/frysk/jnixx/ChangeLog
@@ -1,5 +1,7 @@
 2008-05-14  Andrew Cagney  <cagney@redhat.com>
 
+	* PrintCxxDefinitions.java: Generate ID variables.
+
 	* JniBindings.java: Generate array method names identical to JNI.
 	* chars.hxx (class ByteArrayElements): Update.
 	* chars.cxx (strings2chars): Update.
diff --git a/frysk-sys/frysk/jnixx/PrintCxxDefinitions.java b/frysk-sys/frysk/jnixx/PrintCxxDefinitions.java
index 05f0b6c..0e78cd7 100644
--- a/frysk-sys/frysk/jnixx/PrintCxxDefinitions.java
+++ b/frysk-sys/frysk/jnixx/PrintCxxDefinitions.java
@@ -138,6 +138,12 @@ class PrintCxxDefinitions extends ClassWalker {
 	    void acceptConstructor(Constructor constructor) {
 	    }
 	    void acceptField(Field field) {
+		p.println();
+		p.print("jfieldID ");
+		p.printGlobalCxxName(field.getDeclaringClass());
+		p.print("::");
+		p.printID(field);
+		p.println(";");
 	    }
 	    void acceptClass(Class klass) {
 	    }


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-14 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-14 17:38 [SCM] master: Generate instances of all ID variables cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).