Opened 21 months ago

Closed 7 weeks ago

#6270 closed change (rejected)

[emscripten] Reduce the usage of raw pointers.

Reported by: sergz Assignee:
Priority: P2 Milestone:
Module: Core Keywords: closed-in-favor-of-gitlab
Cc: hfiguiere Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Currently from methods we have to return a raw pointer with incremented reference counter merely for the sake of bindings, because the code of bindings is working only with raw pointers right now. In order to make the code less error-prone we should rather operate smart pointers and the code, generating bindings, should take care of the incrementing the reference counter and obtaining of a raw pointer from the intrusive pointer.

Add a support in bindings generator of a return type of our intrusive_ptr<T>.

Change History (1)

comment:1 Changed 7 weeks ago by sebastian

  • Keywords closed-in-favor-of-gitlab added
  • Resolution set to rejected
  • Status changed from new to closed

Sorry, but we switched to GitLab. If this issue is still relevant, please file it again in the new issue tracker.

Note: See TracTickets for help on using tickets.