add C_SkVertices_Builder_destruct
@@ -554,10 +554,6 @@ extern "C" SkVertices* C_SkVertices_MakeCopy(
return SkVertices::MakeCopy(mode, vertexCount, positions, texs, colors, boneIndices, boneWeights, indexCount, indices, isVolatile).release();
}
-extern "C" SkVertices* C_SkVertices_Builder_detach(SkVertices::Builder* builder) {
- return builder->detach().release();
-}
-
extern "C" SkVertices* C_SkVertices_applyBones(const SkVertices* self, const SkVertices::Bone bones[], int boneCount) {
return self->applyBones(bones, boneCount).release();
}
@@ -570,6 +566,18 @@ extern "C" SkData* C_SkVertices_encode(const SkVertices* self) {
return self->encode().release();
}
+//
+// SkVertices::Builder
+//
+
+extern "C" void C_SkVertices_Builder_destruct(SkVertices::Builder* builder) {
+ builder->~Builder();
+}
+
+extern "C" SkVertices* C_SkVertices_Builder_detach(SkVertices::Builder* builder) {
+ return builder->detach().release();
+}
+
#if defined(SK_VULKAN)
extern "C" SkSurface* C_SkSurface_MakeFromBackendTexture(
