omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    160024 ... Structure return type on 32 bit crashing again

    Pythonista
    2
    4
    1848
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JonB
      JonB last edited by

      as an example

      v=ui.View()
      vo=ObjCInstance(v)
      v.frame()
      

      what is strange is that i am pretty sure that i have called other methods which return struct types, and the new auto parsing of struct types seemed to work.

      1 Reply Last reply Reply Quote 0
      • omz
        omz last edited by omz

        You mean vo.frame(), right? Looking into it...

        1 Reply Last reply Reply Quote 0
        • omz
          omz last edited by

          Ah, I see. I somehow thought objc_msgSend_stret.restype = None was a typo, and changed it, but it was actually correct. Will be fixed in the next build.

          1 Reply Last reply Reply Quote 0
          • JonB
            JonB last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB Forums | Contributors