struct-frame 0.0.16__py3-none-any.whl → 0.0.18__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of struct-frame might be problematic. Click here for more details.

struct_frame/c_gen.py CHANGED
@@ -120,7 +120,8 @@ class MessageCGen():
120
120
 
121
121
 
122
122
  funcName = defineName.lower()
123
- result += 'MESSAGE_HELPER(%s, %s, %d, %d);\n\n' % (funcName, structName,
123
+ if msg.id:
124
+ result += 'MESSAGE_HELPER(%s, %s, %d, %d);\n\n' % (funcName, structName,
124
125
  size, msg.id)
125
126
 
126
127
  return result + '\n'
struct_frame/generate.py CHANGED
@@ -338,8 +338,6 @@ def main():
338
338
  print(
339
339
  f'Recursion Error. Messages most likely have a cyclical dependancy. Check Message: {recErrCurrentMessage} and Field: {recErrCurrentField}')
340
340
 
341
- print(args.c_path)
342
- print(args.ts_path)
343
341
  files = generateCFileStrings(args.c_path[0])
344
342
  files.update(generateTsFileStrings(args.ts_path[0]))
345
343
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: struct-frame
3
- Version: 0.0.16
3
+ Version: 0.0.18
4
4
  Summary: A framework for serializing data with headers
5
5
  Project-URL: Homepage, https://github.com/mylonics/struct-frame
6
6
  Project-URL: Issues, https://github.com/mylonics/struct-frame/issues
@@ -26,11 +26,5 @@ node index.js
26
26
  npx tsc --project tsconfig.json; node index.js
27
27
 
28
28
 
29
- building package
30
- py -m build
31
- py -m twine upload dist/*
29
+ usage python -m struct_frame
32
30
 
33
- py -m pip install --upgrade twine
34
-
35
-
36
- run locally python .\src\main.py
@@ -1,8 +1,8 @@
1
1
  struct_frame/__init__.py,sha256=t_GBVV-CeYA4Yupfu-pH5922nisafAOZLsyyfrJtD0c,269
2
2
  struct_frame/__main__.py,sha256=tIybnBeFHvwiwVhodVOSnxhne5AX_80mtXBx4rneSB4,143
3
3
  struct_frame/base.py,sha256=Sx1hwOjpmbhArPldw4jYibvd7UMRtfkSO_P0lu9NqZA,2021
4
- struct_frame/c_gen.py,sha256=MQ2wBL9O6zse4XA0WmFVsHes8UUjgXSj1vgjjWOcSI4,5825
5
- struct_frame/generate.py,sha256=VxlPJbAGGptDU76LDmLEAH2u3MHdYR0-p62xPVkAUQc,11452
4
+ struct_frame/c_gen.py,sha256=_XC96txPtH0ukbrMSyYegVb5GwV5ADEEDd6yY3Hg3vU,5848
5
+ struct_frame/generate.py,sha256=0f25Gj0U1PAJ5kEcsq2_or8uHCiGoSmdqW2qsBmjp8Y,11403
6
6
  struct_frame/ts_gen.py,sha256=b_mx5IwemcWB70082iHSGOAPzqcnnglXB-fEk4Q2uLM,6123
7
7
  struct_frame/boilerplate/c/struct_frame.h,sha256=Y0V39aqXfR-eTSNe6f1hdc55GXHXBADBK2kbNrxCo-k,4909
8
8
  struct_frame/boilerplate/c/struct_frame_gen.h,sha256=MdXFYOO6E7IN4DM5EaEMXXowZb4auv8UeyQBprkqx68,43
@@ -12,7 +12,7 @@ struct_frame/boilerplate/ts/struct_frame.ts,sha256=botKdIKVP7Bi6BJdXfIZaGAmoATnu
12
12
  struct_frame/boilerplate/ts/struct_frame_gen.ts,sha256=pz6QTIWDTIY0rMCFiGNgp3DcfO7cKsmXrx3rj3zgN_U,164
13
13
  struct_frame/boilerplate/ts/struct_frame_parser.ts,sha256=6eTbafomqTsX3Fvfn82rxNQMxu4PwTaPug38xw4wrhE,3523
14
14
  struct_frame/boilerplate/ts/struct_frame_types.ts,sha256=aBtxVI2lUJKGPTtJAOpbStpS2sXSKvd4XWCIsOnaMk8,2130
15
- struct_frame-0.0.16.dist-info/METADATA,sha256=M6aTlb5ozoD4OSdm6tOiaoehFaMHruTh9Ybm2TqaBD0,828
16
- struct_frame-0.0.16.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
- struct_frame-0.0.16.dist-info/licenses/LICENSE,sha256=UjbLtGfcHCIqJg9UzEVGoNW8fyX4Ah9ZbsuAmJ_vhmk,1094
18
- struct_frame-0.0.16.dist-info/RECORD,,
15
+ struct_frame-0.0.18.dist-info/METADATA,sha256=yVUi9rGFddOeSVxGHHB2Psk1UldR8wfg-Exr-pjrNm8,734
16
+ struct_frame-0.0.18.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
17
+ struct_frame-0.0.18.dist-info/licenses/LICENSE,sha256=UjbLtGfcHCIqJg9UzEVGoNW8fyX4Ah9ZbsuAmJ_vhmk,1094
18
+ struct_frame-0.0.18.dist-info/RECORD,,