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.7.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for libheader-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a883d05b9e1f545927939bc3c4587d98ff86a9463c9dbd21a6a35ece6a1ddbf8 |
|
MD5 | 3497e87a01d3e22df0281dad34d81591 |
|
BLAKE2b-256 | 64e1f37f97f8254f116c6b9579cb9cc8c1b2d1876141495b21f34e1d9da4745b |