Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18404] HAL: Create helper macros for defining TitaniumKit bridge function pairs

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-04-06T01:10:32.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterChristopher Williams
AssigneeKota Iguchi
Created2015-01-19T18:47:23.000+0000
Updated2017-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

Comments

  1. Kota Iguchi 2015-04-06

    https://github.com/appcelerator/titanium_mobile_windows/pull/202
  2. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source