2016-10-19 11:01:24 -07:00
|
|
|
/**
|
2016-09-22 16:22:34 -07:00
|
|
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-16 18:24:55 -08:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2016-09-22 16:22:34 -07:00
|
|
|
*/
|
|
|
|
|
2016-10-19 11:01:24 -07:00
|
|
|
#pragma once
|
2016-09-22 16:22:34 -07:00
|
|
|
|
2016-12-07 05:12:11 -08:00
|
|
|
#include <yoga/Yoga.h>
|
2016-10-19 11:01:24 -07:00
|
|
|
|
2016-12-03 04:40:18 -08:00
|
|
|
YG_EXTERN_C_BEGIN
|
2016-10-19 11:01:24 -07:00
|
|
|
|
2017-05-03 09:22:35 -07:00
|
|
|
typedef int (*YGInteropLogger)(const void *unmanagedConfigPtr,
|
|
|
|
const void *unmanagedNodePtr,
|
|
|
|
YGLogLevel level,
|
|
|
|
const char *message);
|
2016-10-19 11:01:24 -07:00
|
|
|
|
2017-05-03 09:22:35 -07:00
|
|
|
WIN_EXPORT YGConfigRef YGConfigGetDefault();
|
|
|
|
|
|
|
|
WIN_EXPORT void YGInteropSetLogger(YGInteropLogger managedLogger);
|
2016-10-19 11:01:24 -07:00
|
|
|
|
2016-12-03 04:40:18 -08:00
|
|
|
YG_EXTERN_C_END
|