Skip to content

Commit edd6430

Browse files
author
HackMemory
authored
Update README.md
1 parent c025f2b commit edd6430

File tree

1 file changed

+24
-8
lines changed

1 file changed

+24
-8
lines changed

README.md

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,33 @@
11
# dn-dffi-ext
22

33
## static DFFI
4-
* callFunction($lib, $returnType, $functionName, Array $args, Array $types);
5-
* addSearchPath($lib, $path);
4+
```php
5+
callFunction($lib, $returnType, $functionName, Array $args, Array $types);
6+
```
7+
```php
8+
addSearchPath($lib, $path);
9+
```
610

711
## DFFIReferenceValue
8-
* DFFIReferenceValue($type);
9-
* DFFIReferenceValue($type, $value);
10-
* setValue($value);
11-
* getValue();
12+
```php
13+
DFFIReferenceValue($type);
14+
```
15+
```php
16+
DFFIReferenceValue($type, $value);
17+
```
18+
```php
19+
setValue($value);
20+
```
21+
```php
22+
getValue();
23+
```
1224

1325
## DFFIStruct
14-
* DFFIStruct($name, Array $types);
15-
* getResponse();
26+
```php
27+
DFFIStruct($name, Array $types);
28+
```
29+
```php
30+
getResponse();
31+
```
1632

1733
DevelNext Foreign Function Interface

0 commit comments

Comments
 (0)