use #pragma once
Reviewed By: lucasr Differential Revision: D3648895 fbshipit-source-id: faf42cda82764adaf41cf3f3f9109d48aea203fe
This commit is contained in:
parent
ef585e33b1
commit
2d168fcd61
|
@ -7,8 +7,7 @@
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CSS_LAYOUT_INTERNAL_H
|
#pragma once
|
||||||
#define __CSS_LAYOUT_INTERNAL_H
|
|
||||||
|
|
||||||
#include "CSSLayout.h"
|
#include "CSSLayout.h"
|
||||||
#include "CSSNodeList.h"
|
#include "CSSNodeList.h"
|
||||||
|
@ -98,5 +97,3 @@ typedef struct CSSNode {
|
||||||
} CSSNode;
|
} CSSNode;
|
||||||
|
|
||||||
CSS_EXTERN_C_END
|
CSS_EXTERN_C_END
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CSS_LAYOUT_H
|
#pragma once
|
||||||
#define __CSS_LAYOUT_H
|
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -214,5 +213,3 @@ CSS_NODE_LAYOUT_PROPERTY(float, Height);
|
||||||
CSS_NODE_LAYOUT_PROPERTY(CSSDirection, Direction);
|
CSS_NODE_LAYOUT_PROPERTY(CSSDirection, Direction);
|
||||||
|
|
||||||
CSS_EXTERN_C_END
|
CSS_EXTERN_C_END
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CSS_MACROS_H
|
#pragma once
|
||||||
#define __CSS_MACROS_H
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
# define CSS_EXTERN_C_BEGIN extern "C" {
|
# define CSS_EXTERN_C_BEGIN extern "C" {
|
||||||
|
@ -17,5 +16,3 @@
|
||||||
# define CSS_EXTERN_C_BEGIN
|
# define CSS_EXTERN_C_BEGIN
|
||||||
# define CSS_EXTERN_C_END
|
# define CSS_EXTERN_C_END
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CSS_NODE_LIST_H
|
#pragma once
|
||||||
#define __CSS_NODE_LIST_H
|
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -31,5 +30,3 @@ CSSNodeRef CSSNodeListDelete(CSSNodeListRef list, CSSNodeRef node);
|
||||||
CSSNodeRef CSSNodeListGet(CSSNodeListRef list, uint32_t index);
|
CSSNodeRef CSSNodeListGet(CSSNodeListRef list, uint32_t index);
|
||||||
|
|
||||||
CSS_EXTERN_C_END
|
CSS_EXTERN_C_END
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue