xref: /third_party/jerryscript/jerry-core/ext/ext-utils.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/jerryscript/jerry-core/ext/
1425bb815Sopenharmony_ci/*
2425bb815Sopenharmony_ci * Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved.
3425bb815Sopenharmony_ci * Description: improve heap dump.
4425bb815Sopenharmony_ci * Create: 2020/11/20
5425bb815Sopenharmony_ci */
6425bb815Sopenharmony_ci
7425bb815Sopenharmony_ci#ifndef EXT_UTILS_H
8425bb815Sopenharmony_ci#define EXT_UTILS_H
9425bb815Sopenharmony_ci#include "jerryscript-core.h"
10425bb815Sopenharmony_ci
11425bb815Sopenharmony_civoid* JerryExtAlloc(size_t size);
12425bb815Sopenharmony_cichar* JerryExtAllocStr(size_t size);
13425bb815Sopenharmony_cisize_t* JerryExtAllocStorageData(size_t size);
14425bb815Sopenharmony_civoid JerryExtFree(void* ptr);
15425bb815Sopenharmony_ci
16425bb815Sopenharmony_ci#endif
17

Indexes created Thu Nov 07 10:32:03 CST 2024