RUNTIME: fix of InitInstance constructor parameter

This commit is contained in:
Konstantin Anisimov
2016-12-05 15:57:59 +03:00
committed by vvlevchenko
parent bab2b8bc3f
commit de493313f8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ ObjHeader* AllocStringInstance(
ObjHeader* InitInstance(
ObjHeader** location, const TypeInfo* type_info, PlacementHint hint,
void (*ctor)(ObjHeader*)) {
ObjHeader* (*ctor)(ObjHeader*)) {
ObjHeader* sentinel = reinterpret_cast<ObjHeader*>(1);
ObjHeader* value;
// Wait until other initializers.
+1 -1
View File
@@ -258,7 +258,7 @@ ObjHeader* AllocStringInstance(PlacementHint hint,
const char* data, uint32_t length);
ObjHeader* InitInstance(
ObjHeader** location, const TypeInfo* type_info, PlacementHint hint,
void (*ctor)(ObjHeader*));
ObjHeader* (*ctor)(ObjHeader*));
#ifdef __cplusplus
}