1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-25 10:20:23 +08:00

backport: optimize documents

This commit is contained in:
源文雨
2024-04-06 15:15:48 +09:00
parent b861078dec
commit 2129918061
6 changed files with 65 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2021 源文雨 Copyright (c) 2020-2024 源文雨
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@@ -10,4 +10,4 @@ clean:
if [ -d "build" ]; then rm -rf build; fi if [ -d "build" ]; then rm -rf build; fi
install: install:
cp build/base16384 /usr/local/bin/ cp build/base16384 /usr/local/bin/
chmod +x /usr/local/bin/base16384 chmod +x /usr/local/bin/base16384

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,11 @@
//base16384.c /* base16384.c
//MIT fumiama 20200416 * This file is part of the base16384 distribution (https://github.com/fumiama/base16384).
* Copyright (c) 2020-2024 Fumiama Minamoto.
*
* This program is distributed in MIT license.
* Initially created at 20200416.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "bitio.h" #include "bitio.h"

View File

@@ -1,3 +1,11 @@
/* bitio.c
* This file is part of the base16384 distribution (https://github.com/fumiama/base16384).
* Copyright (c) 2020-2024 Fumiama Minamoto.
*
* This program is distributed in MIT license.
* Initially created at 20200416.
*/
#include "bitio.h" #include "bitio.h"
int pushbit(BIT *buffer, const int isture){ int pushbit(BIT *buffer, const int isture){

14
bitio.h
View File

@@ -1,8 +1,14 @@
#ifndef _BITIO_H_ #ifndef _BITIO_H_
#define _BITIO_H_ #define _BITIO_H_
//bitio.h
//made by fumiama /* bitio.h
//20200413 * This file is part of the base16384 distribution (https://github.com/fumiama/base16384).
* Copyright (c) 2020-2024 Fumiama Minamoto.
*
* This program is distributed in MIT license.
* Initially created at 20200413.
*/
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#ifndef BITBUFSIZE #ifndef BITBUFSIZE
@@ -24,4 +30,4 @@ int readbit(const BIT *buffer, const int position);
int popbit(BIT *buffer); int popbit(BIT *buffer);
#endif #endif