File: cppcheck.cfg

package info (click to toggle)
cjs 128.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,872 kB
  • sloc: cpp: 34,377; javascript: 27,762; ansic: 13,033; sh: 1,611; python: 780; xml: 116; makefile: 38
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>