summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/SystemLib/Sources
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-02 21:35:34 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-02 21:35:34 +0200
commitefc6b5d169d2b6eaabe7384141cec6054ae622a0 (patch)
tree056fb3f24bcf0be7fb372106676349a1f5b644b8 /Public/Developer/SystemLib/Sources
parent96d7e324ae1657216e6bb49a82466977d43d9a89 (diff)
OS: Changes related to System API, breaking changes, also added HTMLLib.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Developer/SystemLib/Sources')
-rw-r--r--Public/Developer/SystemLib/Sources/Heap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Public/Developer/SystemLib/Sources/Heap.c b/Public/Developer/SystemLib/Sources/Heap.c
index c9b2b938..c866ef5d 100644
--- a/Public/Developer/SystemLib/Sources/Heap.c
+++ b/Public/Developer/SystemLib/Sources/Heap.c
@@ -10,7 +10,7 @@
/// @param sz size of object.
/// @param flags flags.
/// @return
-CA_EXTERN_C PtrVoidType RtAllocateProcessPtr(QWordType sz,
+CA_EXTERN_C PtrVoidType RtTlsAllocate(QWordType sz,
DWordType flags) {
CA_MUST_PASS(sz);
CA_MUST_PASS(flags);
@@ -20,7 +20,7 @@ CA_EXTERN_C PtrVoidType RtAllocateProcessPtr(QWordType sz,
/// @brief Free pointer from the user's heap.
/// @param ptr the pointer to free.
-CA_EXTERN_C VoidType RtFreeProcessPtr(PtrVoidType ptr) {
+CA_EXTERN_C VoidType RtTlsFree(PtrVoidType ptr) {
CA_MUST_PASS(ptr);
CA_UNREFERENCED_PARAMETER(kSharedApplication->Invoke(kSharedApplication, kCallFreePtr, ptr));
}
@@ -28,7 +28,7 @@ CA_EXTERN_C VoidType RtFreeProcessPtr(PtrVoidType ptr) {
/// @brief Get pointer size.
/// @param ptr the pointer to find.
/// @return the size.
-CA_EXTERN_C QWordType RtProcessPtrSize(PtrVoidType ptr) {
+CA_EXTERN_C QWordType RtTlsGetSize(PtrVoidType ptr) {
CA_MUST_PASS(ptr);
return kSharedApplication->Invoke(kSharedApplication, kCallSizePtr, ptr);
}
@@ -36,7 +36,7 @@ CA_EXTERN_C QWordType RtProcessPtrSize(PtrVoidType ptr) {
/// @brief Check if the pointer exists.
/// @param ptr the pointer to check.
/// @return if it exists
-CA_EXTERN_C BooleanType RtProcessPtrExists(PtrVoidType ptr) {
+CA_EXTERN_C BooleanType RtTlsPtrExists(PtrVoidType ptr) {
CA_MUST_PASS(ptr);
return kSharedApplication->Invoke(kSharedApplication, kCallCheckPtr, ptr);
}