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.0.4.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for libheader-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86eddfb2ad16ad2d7d338acf1e3e02534c287797c81d9833fc2ebe5db986b177 |
|
MD5 | 78be80d5da3b3300b0c10df4050947f0 |
|
BLAKE2b-256 | fd023723d833e1d2a9d28f59ae3abf9654aba96ad3732d3e5e4ab7f555972272 |