polar-objc
5.44
An Objective-C runtime library
Loading...
Searching...
No Matches
polar-paged-array-page.c
1
/* Internal API: paged array page type for polar-objc.
2
Copyright (C) 2022-2025 Michael Malicoat <
[email protected]
>
3
4
This file is part of polar-objc.
5
6
polar-objc is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
7
License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
8
9
polar-objc is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
10
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
11
details.
12
13
You should have received a copy of the GNU General Public License along with this program; see the file LICENSE. If
14
not, see <http://www.gnu.org/licenses/>.
15
*/
16
17
// polar_paged_array_page **********************************************************************************************
18
// Public ==============================================================================================================
19
20
POLAR_FUNCTION_INTERNAL OBJC_RETURNS_VALID_POINTER
polar_paged_array_page
*
21
polar_paged_array_page_new(
void
*value_element_fill )
22
{
23
polar_paged_array_page
*result;
24
25
result = (
polar_paged_array_page
*)polar_memory_allocate(
sizeof
(*result) );
26
27
if
( value_element_fill == NULL )
28
;
29
30
else
31
polar_paged_array_page_fill_elements(result, value_element_fill);
32
33
return
result;
34
}
polar_paged_array_page
Definition
polar-paged-array-page.h:32
source
polar-internals
memory
paged-array
polar-paged-array-page.c
Generated by
1.14.0