This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question on String merge


Tom Tromey wrote:
> 
> Eric> +#ifndef CHARTABLES_DEFINE
> Eric> +extern const jchar blocks[];
> Eric> +#else
> Eric>  static const jchar blocks[] = {
> 
> I don't think this will do what you want.
> 
> Instead, rename the array to something like _Jv_char_data_block (you
> pick the name -- the prefix is all that is important).  Then put a
> decl for the array into jvm.h or some place like that.  Finally, only
> include the header with the table in one file.

OK, I'll refactor that part of the patch, and resubmit it sometime this
weekend (hopefully).  And on your advice, I am just fine committing it
only on the trunk, and leaving it out of 3.1.

-- 
This signature intentionally left boring.

Eric Blake             ebb9@email.byu.edu
  BYU student, free software programmer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]