From 0ead69cdfa8886775212a85fed3aa962fc22902a Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 4 Apr 2026 11:23:24 -0400 Subject: docs: Initial Commit --- .clang-format | 33 +++++++++++++++++++++++++++++++++ LICENSE | 22 ++++++++++++++++++++++ README.md | 3 +++ 3 files changed, 58 insertions(+) create mode 100644 .clang-format create mode 100644 LICENSE create mode 100644 README.md diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..03e32b4 --- /dev/null +++ b/.clang-format @@ -0,0 +1,33 @@ +--- +BasedOnStyle: LLVM +ColumnLimit: 120 +IndentWidth: 4 +InsertNewlineAtEOF: true +KeepEmptyLines: + AtEndOfFile: true +AlignAfterOpenBracket: true +AlignConsecutiveAssignments: Consecutive +AlignConsecutiveBitFields: Consecutive +AlignConsecutiveDeclarations: Consecutive +AlignArrayOfStructures: Left +BinPackArguments: false +BinPackParameters: OnePerLine +DerivePointerAlignment: false +IncludeBlocks: Merge +IncludeCategories: + - Regex: '<.*\.h>' + Priority: 2 + - Regex: '<.*>' + Priority: 3 + - Regex: '".*"' + Priority: 4 +PointerAlignment: Right +SortIncludes: true +SpacesBeforeTrailingComments: 2 +--- +Language: Cpp +AccessModifierOffset: -4 +BreakConstructorInitializers: AfterColon +PackConstructorInitializers: CurrentLine +ReferenceAlignment: Left +--- diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d527559 --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +Copyright (c) 2026 Jacob McDonnell + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..e5b7cff --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# MATFILE-C + +This is a C Library for writing Matlab's Level 5 MAT-Files. \ No newline at end of file -- cgit v1.2.3