[TIMOB-18404] HAL: Create helper macros for defining TitaniumKit bridge function pairs
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2015-04-06T01:10:32.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Windows |
| Labels | n/a |
| Reporter | Christopher Williams |
| Assignee | Kota Iguchi |
| Created | 2015-01-19T18:47:23.000+0000 |
| Updated | 2017-03-16T22:31:07.000+0000 |
Description
I would create macro that does this instead:
JSDefineFunction(createTab);
which would generate this:
JSObject createTab(const JSObject& parameters, JSObject& this_object) TITANIUM_NOEXCEPT;
JSValue js_createTab(const std::vector<JSValue>& arguments, JSObject& this_object);
From Jeff's review comments here: https://github.com/appcelerator/titanium_mobile_windows/pull/88#commitcomment-9323264
https://github.com/appcelerator/titanium_mobile_windows/pull/202
Closing ticket as fixed.