dart-lang / dart-lang/native

How to turn off warnings about opaque declarations

Open
#952 1 comment 0 reactions 0 assignees View on GitHub
package:ffigen
Dominant language
Dart
Stars
275
Forks
144
Avg merge
2d 10h
Merged PRs (30d)
47

Description

is it possible to disable warnings associated with opaque declarations like the following example:

code from .h file
/** Opaque declaration for server side presence subscription */
typedef struct pjsua_srv_pres pjsua_srv_pres;

here's the result from buindings_generated.dart:
final class pjsua_srv_pres extends ffi.Opaque {}

how to get rid of annoying logs for every opaque declaration:
[WARNING]: No definition found for declaration - (Cursor) spelling: pjsua_srv_pres, kind: 2, kindSpelling: StructDecl, type: 105, typeSpelling: struct pjsua_srv_pres, usr: c:@S@pjsua_srv_pres

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.