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.5.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for libheader-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f65031f95fc9b0e3bf83d6110d32e7a76e005ec7b4d401a3fa998439f2bebace |
|
MD5 | c27330197f81820ee9017c5a052b1699 |
|
BLAKE2b-256 | 0a3e02bbd7d26a4db86dc2c597bba8e33a87a267bb74ac3b794aaf687f50996c |