Skip to content

Commit

Permalink
Document funcdefs.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1maker committed Oct 27, 2024
1 parent 051fe26 commit dd62650
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/Foundation/Namespaces/Global/Funcdefs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### array<T>::less
- **Return Type**: `bool`
- **Parameters**:
- `a`: A constant reference to the first element of type T.
- `b`: A constant reference to the second element of type T.
- **Description**: This function is used as a comparator for arrays. It returns true if `a` should come before `b` in the sorted order, and false otherwise.

### exit_callback
- **Return Type**: `int`
- **Parameters**: None
- **Description**: This function is called when the application is exiting. If function returns 0, application can free the memory and exit. If function returns 1, exit function can not be called and application will continue work.

### thread_func
- **Return Type**: `void`
- **Parameters**: None
- **Description**: This function defines the entry point for a new thread. It is responsible for the execution of tasks within that thread.

0 comments on commit dd62650

Please sign in to comment.