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.ccreates a test.lhgcclh main.c --lh=test.lh -o test.execompiles 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.6.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file libheader-1.0.6.tar.gz.
File metadata
- Download URL: libheader-1.0.6.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09f8aaeaeed7eb0f3333b8fa6dc3900eed5d4b880b7a0f693c9584d7359d369b
|
|
| MD5 |
18bb66478a860de6948908340c678bff
|
|
| BLAKE2b-256 |
2099f283035bcaac181c5248bd56b3cc3234066753c259d8e01f4d581c3db2d7
|
File details
Details for the file libheader-1.0.6-py3-none-any.whl.
File metadata
- Download URL: libheader-1.0.6-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8801b5a2404aa99fbb11912dda08480823f371a8a0aa25e70bddaa84e810c75f
|
|
| MD5 |
cdc316df273ae98bc06cf82822b25f3c
|
|
| BLAKE2b-256 |
63697ffa7b2422f8dec31836bc355dab7ef084117ba9c198b63c8ae68d14182a
|