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<struct_type*>(g_##func##_n ((n_structs), sizeof (struct_type))))"/>
</def>
|