Added array utilities documentation
This commit is contained in:
parent
3f4cb7f668
commit
b8e3c867f4
10
README.md
10
README.md
|
|
@ -61,6 +61,8 @@ conforming to some specification.
|
||||||
- [pffi-struct-offset-get](#pffi-struct-offset-get)
|
- [pffi-struct-offset-get](#pffi-struct-offset-get)
|
||||||
- [pffi-struct-get](#pffi-struct-get)
|
- [pffi-struct-get](#pffi-struct-get)
|
||||||
- [pffi-struct-set!](#pffi-struct-set!)
|
- [pffi-struct-set!](#pffi-struct-set!)
|
||||||
|
- [pffi-list->array](#pffi-list-to-array)
|
||||||
|
- [pffi-array->list](#pffi-array-to-list)
|
||||||
- [pffi-define](#pffi-define)
|
- [pffi-define](#pffi-define)
|
||||||
- [pffi-define-callback](#pffi-define-callback)
|
- [pffi-define-callback](#pffi-define-callback)
|
||||||
|
|
||||||
|
|
@ -440,6 +442,14 @@ Returns the value of the givens struct member.
|
||||||
Sets the value of the givens struct member. It is up to you to make sure that the type of value is
|
Sets the value of the givens struct member. It is up to you to make sure that the type of value is
|
||||||
correct.
|
correct.
|
||||||
|
|
||||||
|
**pffi-list->array** type list
|
||||||
|
|
||||||
|
Converts given list into C array of given type.
|
||||||
|
|
||||||
|
**pffi-array->list** type list size
|
||||||
|
|
||||||
|
Converts given C array into list of given type and length.
|
||||||
|
|
||||||
#### pffi-define <a name="pffi-define"></a>
|
#### pffi-define <a name="pffi-define"></a>
|
||||||
|
|
||||||
**pffi-define** scheme-name shared-object c-name return-type argument-types
|
**pffi-define** scheme-name shared-object c-name return-type argument-types
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue