Skip to content
  • Sergey Bugaev's avatar
    d7ded553
    Fix annotations · d7ded553
    Sergey Bugaev authored
    
    
    * Callbacks with a GDestroyNotify are (scope notified), not (scope async);
    * (closure) and (destroy) annotations apply to the main callback parameter,
      not to the closure or the destroy callback parameters;
    * (out) parameter that the caller can choose to ignore by passing NULL is
      (optional), not (nullable);
    * (in) byte arrays should be (array length=count) (element-type guint8);
    * (out) byte arrays should be (array length=count) (element-type guint8)
      (out caller-allocates), plus an additional (in) on the count argument.
    
    Signed-off-by: default avatarSergey Bugaev <bugaevc@gmail.com>
    d7ded553
    Fix annotations
    Sergey Bugaev authored
    
    
    * Callbacks with a GDestroyNotify are (scope notified), not (scope async);
    * (closure) and (destroy) annotations apply to the main callback parameter,
      not to the closure or the destroy callback parameters;
    * (out) parameter that the caller can choose to ignore by passing NULL is
      (optional), not (nullable);
    * (in) byte arrays should be (array length=count) (element-type guint8);
    * (out) byte arrays should be (array length=count) (element-type guint8)
      (out caller-allocates), plus an additional (in) on the count argument.
    
    Signed-off-by: default avatarSergey Bugaev <bugaevc@gmail.com>
Loading