Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

com_wrapper should return THANDLE(s) instead of manually refcounted objects

Open
#51 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
c
Domain
devtools

Research direction

No files, tests, or entry points are named. Start by locating com_wrapper and the THANDLE definition, then trace the current AddRef and Release ownership behavior. Done means the proposed return type and ownership semantics are consistently applied, with the manual reference-counting interface removed.

Written by the indexing model from the issue text.

Description

It is all nice when the vtbl has AddRef and Release, but here the proposal is to remove those and have com_wrapper return a THANDLE.

The benefit here is that a THANDLE has "forced" semantics, while a IUnknown has "by convention and good attention of developer" semantics.

Dominant language
C
Stars
2
Forks
9
Avg merge
34m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.