Skip to main content

hgen

Introduction

showcase

Injects c function prototypes(BSD-style) into header.

limitations

  • cannot capture multi-line function prototypes
  • cannot capture K&R style definitions
  • breaks when function does not work with norminette

Usage

hgen [-h] -I header.h src.c [src/ ...] [-c path]

your header should have flags that

  • begins with: @func or @function(s) at your comment
  • ends with: #endif or @end or multiple = (ex:== some identifier ==)

examples

//	@func
//	@end
#ifndef HEAD_H
# define HEAD_H

//	===== @functions =====
#endif

Plans

  • refactors
  • json based configuration
  • support K&R style function definitions
  • support multiline function definitions

Metadata

Release files for hgen 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hgen 1.0.5
File Size Uploaded Provenance Actions
hgen-1.0.5.tar.gz 8.8 kB Without provenance Details for hgen-1.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hgen 1.0.5
File Interpreter ABI Platform Actions
hgen-1.0.5-py3-none-any.whl Python 3 none any Details for hgen-1.0.5-py3-none-any.whl

Total release size: 19.5 kB

Release files / hgen-1.0.5.tar.gz

Download URL hgen-1.0.5.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
efcef96d0518e68f779018e2a1e2e1340f1b9dfc347975d8cec3914bd8cdd3c1
BLAKE2b-256 checksum
How to use checksums
9c831392b128d618e187c09f646b11858a0b610f5ff6fbd99b5b62703a53a9cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

Release files / hgen-1.0.5-py3-none-any.whl

Download URL hgen-1.0.5-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e2daa6964beb4412d4156799b1a9652d755ce65cf017ef0d0bb756e8d247e38
BLAKE2b-256 checksum
How to use checksums
8fae675f870ce5f8c76db3cd769d3a1578c65b6356e31361834a702d2ec06645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

Security for hgen 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page