message_init


Description:


[ Version ( replacement = "SDPMessage.init" ) ]
public Result message_init (out unowned Message msg)

Initialize msg so that its contents are as if it was freshly allocated with message_new.

This function is mostly used to initialize a message allocated on the stack. uninit undoes this operation.

When this function is invoked on newly allocated data (with malloc or on the stack), its contents should be set to 0 before calling this function.

Parameters:

msg

a Message

Returns:

a Result.


Namespace: Gst.SDP