[gbinder] Housekeeping

This commit is contained in:
Slava Monich
2024-07-18 05:29:24 +03:00
parent c31cd7e964
commit 6d71a0649c
4 changed files with 9 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
/*
* Copyright (C) 2018-2019 Jolla Ltd.
* Copyright (C) 2018-2019 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2018-2024 Slava Monich <slava@monich.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -64,7 +64,7 @@ gbinder_local_object_new_reply(
void
gbinder_local_object_set_stability(
GBinderLocalObject* self,
GBINDER_STABILITY_LEVEL stability); /* Since 1.0.40 */
GBINDER_STABILITY_LEVEL stability); /* Since 1.1.40 */
G_END_DECLS

View File

@@ -1,6 +1,6 @@
/*
* Copyright (C) 2018-2021 Jolla Ltd.
* Copyright (C) 2018-2021 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2018-2024 Slava Monich <slava@monich.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -178,7 +178,7 @@ typedef enum gbinder_stability_level {
GBINDER_STABILITY_VENDOR = 0x03,
GBINDER_STABILITY_SYSTEM = 0x0c,
GBINDER_STABILITY_VINTF = 0x3f
} GBINDER_STABILITY_LEVEL;
} GBINDER_STABILITY_LEVEL; /* Since 1.1.40 */
#define GBINDER_FOURCC(c1,c2,c3,c4) \
(((c1) << 24) | ((c2) << 16) | ((c3) << 8) | (c4))

View File

@@ -1,6 +1,6 @@
/*
* Copyright (C) 2018-2022 Jolla Ltd.
* Copyright (C) 2018-2023 Slava Monich <slava@monich.com>
* Copyright (C) 2018-2024 Slava Monich <slava@monich.com>
*
* You may use this file under the terms of BSD license as follows:
*
@@ -615,7 +615,7 @@ gbinder_local_object_handle_release(
void
gbinder_local_object_set_stability(
GBinderLocalObject* self,
GBINDER_STABILITY_LEVEL stability)
GBINDER_STABILITY_LEVEL stability) /* Since 1.1.40 */
{
if (G_LIKELY(self)) {
self->stability = stability;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2023 Slava Monich <slava@monich.com>
* Copyright (C) 2018-2024 Slava Monich <slava@monich.com>
* Copyright (C) 2018-2022 Jolla Ltd.
*
* You may use this file under the terms of BSD license as follows:
@@ -140,6 +140,8 @@ test_null(
gbinder_local_object_handle_decrefs(NULL);
gbinder_local_object_handle_acquire(NULL, NULL);
gbinder_local_object_handle_release(NULL);
gbinder_local_object_handle_release(NULL);
gbinder_local_object_set_stability(NULL, GBINDER_STABILITY_UNDECLARED);
}
/*==========================================================================*