diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-04 11:23:24 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-04 11:23:24 -0400 |
| commit | 0ead69cdfa8886775212a85fed3aa962fc22902a (patch) | |
| tree | 842952c4cff3af651743ed9e04a14d2e198de9f0 | |
docs: Initial Commit
| -rw-r--r-- | .clang-format | 33 | ||||
| -rw-r--r-- | LICENSE | 22 | ||||
| -rw-r--r-- | README.md | 3 |
3 files changed, 58 insertions, 0 deletions
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 +--- @@ -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 |
