libscript: Add MCScriptCreateModuleFromData().#2789
Conversation
Convenience function.
|
The 'exec context' version of this exists here: Should that one use yours? And should yours have a resource path parameter? |
|
I don't think it should have a resource path parameter -- that's a package thing that should be handled by the Yes, I should definitely fix up |
|
📝 Hi @peter-b, I haven't been able to verify that you've signed our LiveCode Contributor's Agreement. If you have previously signed the Contributor's Agreement, I may not be able to detect it because you haven't linked your GitHub account to your LiveCode account. Please see the information for contributors for more information. |
Code simplification. Also, use an auto pointer to hold the module reference to avoid manual cleanup code.
Code simplification.
|
@livecodeali Okay -- I've tweaked a couple of those places. Is this okay to go now? |
|
Hooray for auto classes! |
|
💙 review by @livecodeali ok 824f862 |
libscript: Add MCScriptCreateModuleFromData(). Convenience function.
libscript: Add MCScriptCreateModuleFromData().
Convenience function.