#2137 closed enhancement (fixed)
[PATCH] Switch Renderer scripting to global functions
Reported by: | Yves | Owned by: | Yves |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 15 |
Component: | Core engine | Keywords: | Spidermonkey |
Cc: | Patch: |
Description
Same goal, same comments and same approach as #2126.
Any comments are welcome, otherwise I'll commit the patch this weekend.
Attachments (2)
Change History (7)
by , 11 years ago
Attachment: | renderer_global_functions_v1.0.diff added |
---|
comment:1 by , 11 years ago
by , 11 years ago
Attachment: | renderer_global_functions_v1.1.diff added |
---|
Removed some unneeded includes and improved the naming of the JS functions.
comment:3 by , 11 years ago
Keywords: | review removed |
---|
Note:
See TracTickets
for help on using tickets.
I'll try to improve the macro to allow naming without UPPERCASE (thanks to Philip for that hint). I'll also remove the CStr.h include and replace a ScriptInterface.h include with a forward declaration.