Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903360

jextract does not handle function pointer return type properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      jextract does not handle function pointer return type properly.

      Example:

      void (*signal(int sig, void (*func)(int)))(int);

      Two problems:

      * Functional interface class is not generated for function pointer return type
      (while function pointer argument types are handled fine)

      * javadoc snippet comment for functions returning function pointer types is wrong. It is not a valid C declaration.

            sundar Sundararajan Athijegannathan
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: