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.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for libheader-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4669a8eec2b545267520549e951a66e97c2d8e32b3b01af3a6f7f7ece3b4659e |
|
MD5 | aea58bb861408474469c23ad078210cd |
|
BLAKE2b-256 | 99fb8588b3fc8428c2d98c88657830bb62241fb041c1bfe2a6b05893d143b1b2 |