public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: cagney@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Generate instances of all ID variables.
Date: Wed, 14 May 2008 17:38:00 -0000	[thread overview]
Message-ID: <20080514173829.6664.qmail@sourceware.org> (raw)

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


                 reply	other threads:[~2008-05-14 17:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080514173829.6664.qmail@sourceware.org \
    --to=cagney@sourceware.org \
    --cc=frysk-cvs@sourceware.org \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).