A new file format that makes C easier.
Project description
Libheader
lh
A file type that encapsualtes a header (.h), and a static library (.lib/.a)
should be able to be #include
by normal C, but requires a special linker that can recognize a .lh file
Example
main.c
#include "sample/test.lh"
int main() {
testfunc();
return 0;
}
test.h
#include <stdio.h>
void testfunc();
test.c
#include "test.h"
void testfunc() { printf("Hello, World!\n"); }
makelh test.h test.c
creates a test.lhgcclh main.c --lh=test.lh -o test.exe
compiles using the test.lh file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
libheader-1.1.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for libheader-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33dfacd52ee64f2fb16224768b46c4f7ec75cebc10145fd4f498c1dd52f916b1 |
|
MD5 | 758cd9c1c45b622fba26e4e0176b65bd |
|
BLAKE2b-256 | af3b1714836cf2e136eddb95e0c5595c58e004e0dff9e361099d40553c5ba244 |