Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core ink fix: callstack used for external function #52

Closed
wants to merge 1 commit into from

Commits on Jan 23, 2017

  1. Core ink fix: callstack used for external function

    When running a function using "story.EvaluateFunction", the ink caches the old callstack and makes a new one until the function evalutation is complete. However, the VariablesState object holds a pointer to the callstack which it uses for creating temporary variables. 
    
    This fix updates the VariablesState objects callstack when the function evaluation begins, and resets it once complete. 
    
    (Matches main ink repo commit 7477026cf35ee06fa93eee194e01bf03fe94c9a8)
    joningold committed Jan 23, 2017
    Configuration menu
    Copy the full SHA
    db86cc9 View commit details
    Browse the repository at this point in the history