Skip to content

Commit

Permalink
[glibutil] Added GUtilRange type
Browse files Browse the repository at this point in the history
  • Loading branch information
monich committed May 17, 2021
1 parent 24ca68f commit aa396ac
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions include/gutil_types.h
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2014-2018 Jolla Ltd.
* Copyright (C) 2014-2018 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2014-2021 Jolla Ltd.
* Copyright (C) 2014-2021 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
Expand All @@ -14,8 +14,8 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the names of the copyright holders nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Expand Down Expand Up @@ -54,6 +54,11 @@ typedef struct gutil_data {
gsize size;
} GUtilData;

typedef struct gutil_range {
const guint8* ptr;
const guint8* end;
} GUtilRange; /* Since 1.0.54 */

#define GLOG_MODULE_DECL(m) extern GLogModule m;
typedef struct glog_module GLogModule;

Expand Down

0 comments on commit aa396ac

Please sign in to comment.