Skip to main content

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.lh
  • gcclh main.c --lh=test.lh -o test.exe compiles using the test.lh file

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

libheader-1.0.6-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for libheader-1.0.6.tar.gz
Algorithm Hash digest
SHA256 09f8aaeaeed7eb0f3333b8fa6dc3900eed5d4b880b7a0f693c9584d7359d369b
MD5 18bb66478a860de6948908340c678bff
BLAKE2b-256 2099f283035bcaac181c5248bd56b3cc3234066753c259d8e01f4d581c3db2d7

See more details on using hashes here.

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

Hashes for libheader-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8801b5a2404aa99fbb11912dda08480823f371a8a0aa25e70bddaa84e810c75f
MD5 cdc316df273ae98bc06cf82822b25f3c
BLAKE2b-256 63697ffa7b2422f8dec31836bc355dab7ef084117ba9c198b63c8ae68d14182a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page