Autodesk / Autodesk/AutomaticComponentToolkit

[cgo] Pointer variables are not implemented properly.

Open
#125 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
53
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Pointer variables are making the headers not compile. We tried to use interface{} style-pointers in order to abstract this for the user, but they seemed to crash.

My suggestion would be to handle pointers strictly as uint64 handles throughout all the go code.
@qmuntal: Do you have any objections?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the header compilation failure described in the issue and trace how pointer variables are handled in the cgo-related Go code. Compare the current interface{}-style pointer handling with the proposed uint64-handle approach. Done means generated headers compile and pointer variables no longer crash, but the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.