mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-03-27 23:51:27 +00:00
Add module-level docstrings and helper utility docstrings
Co-authored-by: varun-r-mallya <100590632+varun-r-mallya@users.noreply.github.com>
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
"""
|
||||
Decorators for marking BPF functions, maps, structs, and globals.
|
||||
|
||||
This module provides the core decorators used to annotate Python code
|
||||
for BPF compilation.
|
||||
"""
|
||||
|
||||
|
||||
def bpf(func):
|
||||
"""Decorator to mark a function for BPF compilation."""
|
||||
func._is_bpf = True
|
||||
|
||||
Reference in New Issue
Block a user