@yuuang/ffi-rs-linux-arm64-musl
Advanced tools
Comparing version 1.0.18 to 1.0.19
{ | ||
"name": "@yuuang/ffi-rs-linux-arm64-musl", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"os": [ | ||
@@ -5,0 +5,0 @@ "linux" |
@@ -53,4 +53,4 @@ # ffi-rs | ||
- doubleArray | ||
- object | ||
- function(developmenting) | ||
- object(Nested object is not supported at this time) | ||
- function(developing) | ||
@@ -122,2 +122,3 @@ ## Support Platform | ||
int age; | ||
double doubleProps; | ||
} Person; | ||
@@ -128,2 +129,3 @@ | ||
printf("Age: %d\n", person->age); | ||
printf("doubleProps: %f \n", person->doubleProps); | ||
return person; | ||
@@ -234,2 +236,3 @@ } | ||
age: 23, | ||
doubleProps: 1.1, | ||
} | ||
@@ -242,2 +245,3 @@ const personObj = load({ | ||
age: DataType.I32, | ||
doubleProps: DataType.Double, | ||
}, | ||
@@ -247,2 +251,3 @@ paramsType: [{ | ||
age: DataType.I32, | ||
doubleProps: DataType.Double, | ||
}], | ||
@@ -253,3 +258,4 @@ paramsValue: [person] | ||
equal(person.age, personObj.age) | ||
equal(person.doubleProps, personObj.doubleProps) | ||
``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
520888
255