File: ObjectStorage.cpp

package info (click to toggle)
ausaxs 1.1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 72,592 kB
  • sloc: cpp: 49,853; ansic: 6,901; python: 730; makefile: 18
file content (10 lines) | stat: -rw-r--r-- 248 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
// SPDX-License-Identifier: LGPL-3.0-or-later
// Author: Kristian Lytje

#include <api/ObjectStorage.h>

void deallocate(int object_id, int* status) {
    *status = 1;
    ausaxs::api::ObjectStorage::deregister_object(object_id);
    *status = 0;
}