From d47215ddcca5b90eb360b15d7d0d852121070019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 24 Oct 2022 17:23:02 +0800 Subject: Remove all externals & change long to int --- midtrans.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'midtrans.dart') diff --git a/midtrans.dart b/midtrans.dart index bf6f2f4..4e65405 100644 --- a/midtrans.dart +++ b/midtrans.dart @@ -5,17 +5,17 @@ import 'package:ffi/ffi.dart'; import 'package:path/path.dart' as path; class MidtransTransaction extends Struct { - external Pointer order_id; + Pointer order_id; @Long() - external long gross_amount; + int gross_amount; } class MidtransBanktransfer extends Struct { - external Pointer bank; - external Pointer va_number; - external Pointer bca; - external Pointer permata; + Pointer bank; + Pointer va_number; + Pointer bca; + Pointer permata; } class Midtrans { -- cgit v1.2.3