mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 18:58:27 +00:00
[samples/ffi] Fix binding signatures
Change-Id: Ie691c2f7c0ac13b8fef72cd77728520b4db1159a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/183004 Reviewed-by: Clement Skau <cskau@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
parent
b7ad7a3000
commit
302de78b2f
|
@ -14,8 +14,8 @@ typedef NativeBinaryOp = Int32 Function(Int32, Int32);
|
|||
typedef UnaryOp = int Function(int);
|
||||
typedef BinaryOp = int Function(int, int);
|
||||
typedef GenericBinaryOp<T> = int Function(int, T);
|
||||
typedef NativeQuadOpSigned = Int64 Function(Int64, Int32, Int16, Int8);
|
||||
typedef NativeQuadOpUnsigned = Uint64 Function(Uint64, Uint32, Uint16, Uint8);
|
||||
typedef NativeQuadOpSigned = Int64 Function(Int8, Int16, Int32, Int64);
|
||||
typedef NativeQuadOpUnsigned = Uint64 Function(Uint8, Uint16, Uint32, Uint64);
|
||||
typedef NativeFunc4 = IntPtr Function(IntPtr);
|
||||
typedef NativeDoubleUnaryOp = Double Function(Double);
|
||||
typedef NativeFloatUnaryOp = Float Function(Float);
|
||||
|
|
|
@ -16,8 +16,8 @@ typedef NativeBinaryOp = Int32 Function(Int32, Int32);
|
|||
typedef UnaryOp = int Function(int);
|
||||
typedef BinaryOp = int Function(int, int);
|
||||
typedef GenericBinaryOp<T> = int Function(int, T);
|
||||
typedef NativeQuadOpSigned = Int64 Function(Int64, Int32, Int16, Int8);
|
||||
typedef NativeQuadOpUnsigned = Uint64 Function(Uint64, Uint32, Uint16, Uint8);
|
||||
typedef NativeQuadOpSigned = Int64 Function(Int8, Int16, Int32, Int64);
|
||||
typedef NativeQuadOpUnsigned = Uint64 Function(Uint8, Uint16, Uint32, Uint64);
|
||||
typedef NativeFunc4 = IntPtr Function(IntPtr);
|
||||
typedef NativeDoubleUnaryOp = Double Function(Double);
|
||||
typedef NativeFloatUnaryOp = Float Function(Float);
|
||||
|
|
Loading…
Reference in a new issue