File: cppcheck.cfg

package info (click to toggle)
gjs 1.86.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,724 kB
  • sloc: cpp: 39,075; javascript: 30,720; ansic: 15,971; sh: 1,759; python: 772; xml: 135; makefile: 40
file content (9 lines) | stat: -rw-r--r-- 501 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
<?xml version="1.0"?>
<!-- SPDX-License-Identifier: MIT OR LGPL-2.0-or-later -->
<!-- SPDX-FileCopyrightText: 2020 Philip Chimento <philip.chimento@gmail.com> -->
<def>
  <define name="G_GINT64_FORMAT" value='"li"'/>
  <define name="G_GUINT64_FORMAT" value='"lu"'/>
  <!-- avoid false positive with cStyleCast by redefining cppcheck's _G_NEW -->
  <define name="_G_NEW(struct_type, n_structs, func)" value="(static_cast&lt;struct_type*&gt;(g_##func##_n ((n_structs), sizeof (struct_type))))"/>
</def>