LCOV - code coverage report
Current view: top level - glib/girepository - gicallbackinfo.c (source / functions) Hit Total Coverage
Test: unnamed Lines: 4 4 100.0 %
Date: 2024-05-07 05:15:23 Functions: 1 1 100.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
       2                 :            :  * GObject introspection: Callable implementation
       3                 :            :  *
       4                 :            :  * Copyright (C) 2005 Matthias Clasen
       5                 :            :  * Copyright 2023 GNOME Foundation, Inc.
       6                 :            :  *
       7                 :            :  * SPDX-License-Identifier: LGPL-2.1-or-later
       8                 :            :  *
       9                 :            :  * This library is free software; you can redistribute it and/or
      10                 :            :  * modify it under the terms of the GNU Lesser General Public
      11                 :            :  * License as published by the Free Software Foundation; either
      12                 :            :  * version 2 of the License, or (at your option) any later version.
      13                 :            :  *
      14                 :            :  * This library is distributed in the hope that it will be useful,
      15                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      16                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      17                 :            :  * Lesser General Public License for more details.
      18                 :            :  *
      19                 :            :  * You should have received a copy of the GNU Lesser General Public
      20                 :            :  * License along with this library; if not, write to the
      21                 :            :  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
      22                 :            :  * Boston, MA 02111-1307, USA.
      23                 :            :  */
      24                 :            : 
      25                 :            : #include "config.h"
      26                 :            : 
      27                 :            : #include <stdlib.h>
      28                 :            : 
      29                 :            : #include <glib.h>
      30                 :            : 
      31                 :            : #include <girepository/girepository.h>
      32                 :            : #include "gibaseinfo-private.h"
      33                 :            : #include "girepository-private.h"
      34                 :            : #include "gitypelib-internal.h"
      35                 :            : #include "gicallbackinfo.h"
      36                 :            : 
      37                 :            : /**
      38                 :            :  * GICallbackInfo:
      39                 :            :  *
      40                 :            :  * `GICallbackInfo` represents a callback.
      41                 :            :  *
      42                 :            :  * Since: 2.80
      43                 :            :  */
      44                 :            : 
      45                 :            : void
      46                 :          3 : gi_callback_info_class_init (gpointer g_class,
      47                 :            :                              gpointer class_data)
      48                 :            : {
      49                 :          3 :   GIBaseInfoClass *info_class = g_class;
      50                 :            : 
      51                 :          3 :   info_class->info_type = GI_INFO_TYPE_CALLBACK;
      52                 :          3 : }

Generated by: LCOV version 1.14