File: callback-missing-scope.h

package info (click to toggle)
gobject-introspection 1.32.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 8,880 kB
  • sloc: ansic: 33,799; sh: 11,293; python: 7,284; yacc: 1,410; makefile: 400; lex: 329; perl: 254; xml: 178
file content (5 lines) | stat: -rw-r--r-- 229 bytes parent folder | download | duplicates (5)
1
2
3
4
5
#include "common.h"

void test_callback(GCallback *callback, gpointer user_data);

// EXPECT:3: Warning: Test: test_callback: argument callback: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async)