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:
2
LICENSE
2
LICENSE
@@ -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
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -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
|
||||||
|
|||||||
10
base16384.c
10
base16384.c
@@ -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"
|
||||||
|
|||||||
8
bitio.c
8
bitio.c
@@ -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
14
bitio.h
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user