[PR #1283] [CLOSED] demo structure for restructuring data_structures #1882

Open
opened 2026-01-29 15:25:42 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1283
Author: @yaoyhu
Created: 7/1/2023
Status: Closed

Base: masterHead: master


📝 Commits (6)

  • 1a8c2eb demo structure for re-constructing data_structures
  • aac5538 Update data_structures/include/forehead/forehead.h
  • dca745c reformed my demo
  • dcd7d7d re-reformed
  • c3f49d5 updating DIRECTORY.md
  • f7654e0 update .clang-format to conform CMU coding style

📊 Changes

11 files changed (+628 additions, -119 deletions)

View changed files

📝 .clang-format (+40 -57)
📝 CMakeLists.txt (+60 -62)
📝 DIRECTORY.md (+10 -0)
data_structures/CMakeLists.txt (+3 -0)
data_structures/include/CMakeLists.txt (+7 -0)
data_structures/include/forehead/forehead.h (+97 -0)
data_structures/include/list/sqlist.h (+39 -0)
data_structures/src/CMakeLists.txt (+11 -0)
data_structures/src/list/sqlist.c (+207 -0)
data_structures/test/CMakeLists.txt (+21 -0)
data_structures/test/sqlist_test.c (+133 -0)

📄 Description

Description of Change

References

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:
Sorry for the late PR, please check my demo structure. If it is OK, I'll continue pushing my codes to re-construct all the data_structures codes in later months.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/1283 **Author:** [@yaoyhu](https://github.com/yaoyhu) **Created:** 7/1/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (6) - [`1a8c2eb`](https://github.com/TheAlgorithms/C/commit/1a8c2eb51e70392694ee0a7493d0f256f590dcf6) demo structure for re-constructing data_structures - [`aac5538`](https://github.com/TheAlgorithms/C/commit/aac55389e13b9b00df07f732a42ed1d14833e855) Update data_structures/include/forehead/forehead.h - [`dca745c`](https://github.com/TheAlgorithms/C/commit/dca745c0bad3354ae0959a0147aa2ef2e769d619) reformed my demo - [`dcd7d7d`](https://github.com/TheAlgorithms/C/commit/dcd7d7d65dc81e31e547f348e1ee44d2f923ff35) re-reformed - [`c3f49d5`](https://github.com/TheAlgorithms/C/commit/c3f49d545ade9dc6a092b9881cb8554010669e9f) updating DIRECTORY.md - [`f7654e0`](https://github.com/TheAlgorithms/C/commit/f7654e048183bd39e629ba509cba433a2c224341) update .clang-format to conform CMU coding style ### 📊 Changes **11 files changed** (+628 additions, -119 deletions) <details> <summary>View changed files</summary> 📝 `.clang-format` (+40 -57) 📝 `CMakeLists.txt` (+60 -62) 📝 `DIRECTORY.md` (+10 -0) ➕ `data_structures/CMakeLists.txt` (+3 -0) ➕ `data_structures/include/CMakeLists.txt` (+7 -0) ➕ `data_structures/include/forehead/forehead.h` (+97 -0) ➕ `data_structures/include/list/sqlist.h` (+39 -0) ➕ `data_structures/src/CMakeLists.txt` (+11 -0) ➕ `data_structures/src/list/sqlist.c` (+207 -0) ➕ `data_structures/test/CMakeLists.txt` (+21 -0) ➕ `data_structures/test/sqlist_test.c` (+133 -0) </details> ### 📄 Description #### Description of Change <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> Sorry for the late PR, please check my demo structure. If it is OK, I'll continue pushing my codes to re-construct all the `data_structures` codes in later months. - I fully obeyed the original .clang-format even the https://github.com/TheAlgorithms/C/issues/1275#issue-1752758171 exists. - I might revise the `CMakeLists.txt` during the next few pr. - I might use `CTest/GTest` instead of my `macro` functions for tests. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:25:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1882