Jump to content
  • Advertisement
Sign in to follow this  

Re-entering a C function from lua_yield()

This topic is 2786 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all,

I'm looking for a solution that allows me to re-enter a C function that yielded on the next lua_resume(). I'm currently using Lua 5.1.4.

I did find this patch for Lua 5.1:

Which requires me to run this patch:

It seems to be aimed at Unix users who are familiar with Patch. I've just spent an hour trying to patch my lua files on Windows 7, but it seems to be failing silently. I'm either using it incorrectly, or it isn't compatible with 64 bit Windows 7. Is there anyone who has had any experience of using Patch that might be able to give me a hand?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!