Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pal_autoreleasepool.h « System.Native « Unix « Native « libraries « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 75d367084666f15bed58c8549693e7ee56f9b5a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#pragma once

#include "pal_compiler.h"
#include "pal_types.h"

/**
 * Creates an pool to automatically release applicable ref-counted resources.
 */
PALEXPORT void* SystemNative_CreateAutoreleasePool(void);

/**
 * Drains and releases a pool created by SystemNative_CreateAutoreleasePool.
 */
PALEXPORT void SystemNative_DrainAutoreleasePool(void* pool);