Opened on 01/15/2018 at 01:05:00 PM

Closed on 08/29/2019 at 05:43:52 PM

#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>.

Attachments (0)

Change History (1)

comment:1 Changed on 08/29/2019 at 05:43:52 PM 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.

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none).
 
Note: See TracTickets for help on using tickets.