Comments (5)
This is the line in question: https://github.com/go-gst/go-glib/blob/main/glib/gasyncresult.go#L86
from go-gst.
The function in question is the following:
// IsTagged is a wrapper around g_async_result_is_tagged
func (v *AsyncResult) IsTagged(sourceTag uintptr) bool {
c := C.g_async_result_is_tagged(v.native(), C.gpointer(sourceTag))
return gobool(c)
}
The linter is complaining about a cast from the uintptr
argument to a unsafe.Pointer
via C.gpointer
. go vet also catches this.
Related to #62
from go-gst.
@sirzooro are you actively using the IsTagged
function that gets reported? The only way to fix this is by changing the argument type, which will be a breaking change.
But the linters are correct, normally how it is now is already broken, these types of casts can lead to really fun to debug segmentation faults. That is why this wont be a major release in terms of semver
from go-gst.
No, feel free to change it.
from go-gst.
FYI this issue was autoclosed and is only actually completed with the merger of #75
from go-gst.
Related Issues (20)
- Figure out what's wrong with windows mingw 12 HOT 5
- Handling SIGSEGV when in docker container HOT 9
- Look into CgoSymbolizers
- Glib string property issue HOT 2
- SEGFAULT using glib.Value HOT 13
- Create documentation on how to properly unref a pipeline when you're done with it. HOT 8
- Investigate windows build issues HOT 3
- How to set GstElement *(or *gst.Element) to a Property? HOT 9
- video display support on MacOS HOT 9
- could not determine kind of name for C.gst_element_factory_make_with_properties HOT 5
- Audio problem originating from package name for Example HOT 6
- Not an issue but a request for more examples HOT 4
- Handle up- and downcasting safely HOT 11
- unmarshaling nvdsbatchmeta HOT 48
- warnings on macos HOT 1
- Add support for retrieving tracers
- Docs are suggesting Unrefs that lead to segfaults HOT 1
- ./buildAll.sh failed in Ubuntu 22.04.3 LTS
- 'get-internal-session' unable to retrieve RTPSession in 'on-ssrc-active' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-gst.