mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 20:44:10 +00:00
f94e4348dd
Reviewed By: javache Differential Revision: D3648805 fbshipit-source-id: a6bf1bb55e1e0ee37284647ab76d66f3956a66c0
34 lines
1.0 KiB
C
34 lines
1.0 KiB
C
/**
|
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <assert.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <stdint.h>
|
|
|
|
#include <CSSLayout/CSSLayout.h>
|
|
#include <CSSLayout/CSSMacros.h>
|
|
|
|
CSS_EXTERN_C_BEGIN
|
|
|
|
typedef struct CSSNodeList * CSSNodeListRef;
|
|
|
|
CSSNodeListRef CSSNodeListNew(uint32_t initialCapacity);
|
|
void CSSNodeListFree(CSSNodeListRef list);
|
|
uint32_t CSSNodeListCount(CSSNodeListRef list);
|
|
void CSSNodeListAdd(CSSNodeListRef list, CSSNodeRef node);
|
|
void CSSNodeListInsert(CSSNodeListRef list, CSSNodeRef node, uint32_t index);
|
|
CSSNodeRef CSSNodeListRemove(CSSNodeListRef list, uint32_t index);
|
|
CSSNodeRef CSSNodeListDelete(CSSNodeListRef list, CSSNodeRef node);
|
|
CSSNodeRef CSSNodeListGet(CSSNodeListRef list, uint32_t index);
|
|
|
|
CSS_EXTERN_C_END
|