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.1.0.tar.gz
(3.1 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.1.0.tar.gz.
File metadata
- Download URL: libheader-1.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dce447983596dbf33700fdd6907420e5b75187018af733b41938d3956a27be6
|
|
| MD5 |
b864b92b5690f0fcef1625b3b9b787ed
|
|
| BLAKE2b-256 |
8b3be766e5f045cd9b882854bbfc3a82e178e4880715609016a77fd47cdc4955
|
File details
Details for the file libheader-1.1.0-py3-none-any.whl.
File metadata
- Download URL: libheader-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 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 |
33dfacd52ee64f2fb16224768b46c4f7ec75cebc10145fd4f498c1dd52f916b1
|
|
| MD5 |
758cd9c1c45b622fba26e4e0176b65bd
|
|
| BLAKE2b-256 |
af3b1714836cf2e136eddb95e0c5595c58e004e0dff9e361099d40553c5ba244
|