Skip to content

Commit 03d2036

Browse files
author
HackMemory
committed
Docs Update
1 parent 6423d34 commit 03d2036

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

api-docs/classes/system/DFFIReferenceValue.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ Class DFFIReferenceValue
1111

1212
#### Methods
1313

14-
- `->`[`__construct()`](#method-__construct) - _DFFIReferenceValue constructor._
14+
- `->`[`__construct()`](#method-__construct) - _Конструктор с выделением памяти_
1515
- `->`[`setValue()`](#method-setvalue)
1616
- `->`[`getValue()`](#method-getvalue)
17+
- `->`[`getNativeString()`](#method-getnativestring)
1718

1819
---
1920
# Methods
@@ -22,9 +23,9 @@ Class DFFIReferenceValue
2223

2324
### __construct()
2425
```php
25-
__construct(string $type, string $value): void
26+
__construct(string $type, int $size): void
2627
```
27-
DFFIReferenceValue constructor.
28+
Конструктор с выделением памяти
2829

2930
---
3031

@@ -42,4 +43,13 @@ setValue(string $value): void
4243
### getValue()
4344
```php
4445
getValue(): any
46+
```
47+
48+
---
49+
50+
<a name="method-getnativestring"></a>
51+
52+
### getNativeString()
53+
```php
54+
getNativeString(): string
4555
```

sdk/system/DFFIReferenceValue.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ public function __construct($type)
2424
public function __construct($type, $value)
2525
{
2626
}
27+
28+
/**
29+
* Конструктор с выделением памяти
30+
* @param string $type
31+
* @param int $size
32+
*/
33+
public function __construct($type, $size)
34+
{
35+
}
2736

2837
/**
2938
* @param string $value
@@ -39,4 +48,11 @@ public function setValue($value)
3948
public function getValue()
4049
{
4150
}
51+
52+
/**
53+
* @return string
54+
*/
55+
public function getNativeString()
56+
{
57+
}
4258
}

0 commit comments

Comments
 (0)