| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b18a789 commit 5047566
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1605,6 +1605,11 @@ | |||
| 1605 | 1605 | } | |
| 1606 | 1606 | } | |
| 1607 | 1607 | }, | |
| 1608 | + "strarray": { | ||
| 1609 | + "dependencies": [ | ||
| 1610 | + "../include/str_array_converter.h" | ||
| 1611 | + ] | ||
| 1612 | + }, | ||
| 1608 | 1613 | "stream": { | |
| 1609 | 1614 | "ignore": true, | |
| 1610 | 1615 | "cDependencies": [ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,7 +43,7 @@ | |||
| 43 | 43 | ||
| 44 | 44 | NanAssignPersistent(wrapper->{{ field.name }}, {{ field.name }}); | |
| 45 | 45 | ||
| 46 | - wrapper->raw->{{ field.name }} = {% if not field.cType | isPointer %}*{% endif %}ObjectWrap::Unwrap<{{ field.cppClassName }}>({{ field.name }}->ToObject())->GetValue(); | ||
| 46 | + wrapper->raw->{{ field.name }} = {% if not field.cType | isPointer %}*{% endif %}{% if field.cppClassName == 'GitStrarray' %}StrArrayConverter::Convert({{ field.name }}->ToObject()){% else %}ObjectWrap::Unwrap<{{ field.cppClassName }}>({{ field.name }}->ToObject())->GetValue(){% endif %}; | ||
| 47 | 47 | ||
| 48 | 48 | {% elsif field.isCallbackFunction %} | |
| 49 | 49 | if (wrapper->{{ field.name }} != NULL) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments