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.3.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for libheader-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dcef81eb936f8955befec322d2a385cce6dbd73ade55462003dafc6af69b223 |
|
MD5 | 2702c909e228fc9633a25c8937a1dd55 |
|
BLAKE2b-256 | 1c16e2c7b687de80ae763b447a8044a2f5f43a5f3d8ad569871ee243c22e116f |