2016-10-19 11:01:24 -07:00
|
|
|
|
/**
|
2018-09-11 15:27:47 -07:00
|
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2016-10-19 11:01:24 -07:00
|
|
|
|
*
|
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-10-19 11:01:24 -07:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
using System;
|
2017-02-16 11:07:51 -08:00
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
2016-12-02 11:18:16 -08:00
|
|
|
|
namespace Facebook.Yoga
|
2016-10-19 11:01:24 -07:00
|
|
|
|
{
|
2017-05-03 09:22:35 -07:00
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
|
|
|
|
public delegate void YogaLogger(
|
|
|
|
|
IntPtr unmanagedConfigPtr,
|
|
|
|
|
IntPtr unmanagedNotePtr,
|
|
|
|
|
YogaLogLevel level,
|
|
|
|
|
string message);
|
2016-10-19 11:01:24 -07:00
|
|
|
|
}
|