Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
dwpeng committed Jan 30, 2024
0 parents commit 3e2fbe9
Show file tree
Hide file tree
Showing 5 changed files with 513 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
BasedOnStyle: GNU
IndentWidth: 2

AlignAfterOpenBracket: Align
AllowShortBlocksOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true
CompactNamespaces: true
FixNamespaceComments: true
MaxEmptyLinesToKeep: 1
PointerAlignment: Left
SortIncludes: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
UseTab: Never
BinPackArguments: true
BinPackParameters: false
AlignTrailingComments: true
---
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true
13 changes: 13 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include "seqio.h"

int
main()
{
seqioOpenOptions openOptions = {
.filename = "test.fa",
.mode = seqOpenModeRead,
.isGzipped = false,
};
seqioFile* sf = seqioOpen(&openOptions);
seqioClose(sf);
}
Loading

0 comments on commit 3e2fbe9

Please sign in to comment.