I have seen here that we can return struct for internal functions. Why can we not just return struct for a non-internal (= public) function?

Also, I can see in the same link "structs would have to be integrated into the ABI". What does this line mean?

  • for "structs would have to be integrated into the ABI" he mean if you want to do a return of struct with external function you need to put this structure inside the ABI declaration.
    – Gawey
    Jul 28, 2017 at 8:32
  • How that can be done? Is there any documentation related to that? any link will be very helpful.
    – Abhishek
    Jul 28, 2017 at 8:35


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.