btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / kernel / util / KernelReferenceable.h
blob928075cbd06c29cb6ad25fc70b4cd9dfa4285fe7
1 /*
2 * Copyright 2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _KERNEL_UTIL_KERNEL_REFERENCEABLE_H
6 #define _KERNEL_UTIL_KERNEL_REFERENCEABLE_H
9 #include <Referenceable.h>
11 #include <heap.h>
14 namespace BKernel {
17 struct KernelReferenceable : BReferenceable, DeferredDeletable {
18 protected:
19 virtual void LastReferenceReleased();
23 } // namespace BKernel
26 using BKernel::KernelReferenceable;
29 #endif /* _KERNEL_UTIL_KERNEL_REFERENCEABLE_H */