File: zgptrarray.h

package info (click to toggle)
libzia 4.36-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,320 kB
  • sloc: ansic: 24,172; sh: 4,408; makefile: 211
file content (24 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
    zgptrarray.h - libzia extensions for glib's GPtrArray
    Copyright (C) 2011 Ladislav Vaiz <ok1zia@nagano.cz>

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    version 2 as published by the Free Software Foundation.

*/

#ifndef __ZGPTRARRAY_H
#define __ZGPTRARRAY_H

#include <libziaint.h>
#include <glib.h>


void zg_ptr_array_free_all(GPtrArray *array);
void zg_ptr_array_free_items(GPtrArray *array);
void zg_ptr_array_qsort (GPtrArray *farray, int (*compar)(const void *, const void *));
int zg_ptr_array_find_str(GPtrArray *array, char *needle);


#endif