gl/framebuffer: Mark autogenerated fn attach() to unsafe

`attachment_point` is said to not be validated, or [existing validation]
is inadequate.

[existing validation]: 57a23786f3/gst-libs/gst/gl/gstglframebuffer.c (L456)
This commit is contained in:
Marijn Suijten 2020-10-12 11:05:47 +02:00 committed by Sebastian Dröge
parent 4eddd377e1
commit 39f8eb98ee

View file

@ -33,7 +33,6 @@ generate = [
#"GstGL.GLRenderbufferAllocationParams",
# Objects
#"GstGL.GLBufferPool",
"GstGL.GLFramebuffer",
"GstGL.GLBaseMemoryAllocator",
"GstGL.GLMemoryAllocator",
#"GstGL.GLMemoryPBOAllocator",
@ -498,3 +497,12 @@ status = "generate"
[[object.function.parameter]]
name = "src_vid"
const = true
[[object]]
name = "GstGL.GLFramebuffer"
status = "generate"
[[object.function]]
name = "attach"
# attachment_point parameter unchecked
unsafe = true