Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.4

      Description

      Date: Wed, 19 Jul 1995 04:13:46 -0400 (EDT)
      From: "Vishal Mehra" <###@###.###>
      Subject: generation of C stubs for arrays of arrays
      To: "java" <hotjava-interest@java>
      Cc: "Vishal Mehra" <###@###.###>


      My Java code looks like:

      Package neuralnet;

      class Neural {
             :
             :
             public native void main_loop(int cell_array[][]);
            }

      -----

      javah generates the following header file

      extern void neuralnet_Neural_main_loop(struct Hneuralnet_Neural *,
      HArrayOfInt *,void);

      ----

      Now I don't now how to access two dimension array because "HArrayOfInt *"
      just gives me one dimensional array. Morever what is the meaning of last
      argument been void.

      ---

      Any comments/suggestions regarding how to access arrays of arrays would
      be appreciated.

      -Vishal
      -
      Note to Sun employees: this is an EXTERNAL mailing list!
      Info: send 'help' to ###@###.###

        Attachments

          Activity

            People

            • Assignee:
              jmcilreesunw James Mcilree (Inactive)
              Reporter:
              ahoffsunw Arthur Hoff (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: