We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c436d4e commit a963050Copy full SHA for a963050
generate/templates/manual/src/str_array_converter.cc
@@ -24,7 +24,7 @@ git_strarray *StrArrayConverter::Convert(Handle<v8::Value> val) {
24
}
25
26
27
-static git_strarray * StrArrayConverter::AllocStrArray(const size_t count) {
+git_strarray * StrArrayConverter::AllocStrArray(const size_t count) {
28
const size_t size = sizeof(git_strarray) + (sizeof(char*) * count);
29
uint8_t* memory = reinterpret_cast<uint8_t*>(malloc(size));
30
git_strarray *result = reinterpret_cast<git_strarray *>(memory);
0 commit comments