summaryrefslogtreecommitdiff
path: root/lib9p/core.gen
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-15 01:03:39 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-15 01:03:39 -0600
commit0450e14b3a86e4448537c03253eeebf509f8909e (patch)
treec3a38f842b610d0f72b9e1c0aba45c186b443bf0 /lib9p/core.gen
parentb1fcc4ac2f244dddd869054db5dc6753c099a3e0 (diff)
parentab99adc111425dd93a062e67b19943860296ecca (diff)
Merge branch 'lukeshu/9p-fixes'
Diffstat (limited to 'lib9p/core.gen')
-rwxr-xr-xlib9p/core.gen15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib9p/core.gen b/lib9p/core.gen
new file mode 100755
index 0000000..b30ec31
--- /dev/null
+++ b/lib9p/core.gen
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+# lib9p/core.gen - Generate C marshalers/unmarshalers for .9p files
+# defining 9P protocol variants.
+#
+# Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
+import os.path
+import sys
+
+sys.path.insert(0, os.path.normpath(os.path.join(__file__, "..")))
+import core_gen # pylint: disable=wrong-import-position
+
+if __name__ == "__main__":
+ core_gen.main()