Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitai-bot committed Apr 15, 2024
1 parent 24ec7d3 commit 390419a
Show file tree
Hide file tree
Showing 2,250 changed files with 5,254 additions and 2,833 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from construct import *
from construct.lib import *

imports_params_def_array_usertype_imported = Struct(
'hws' / Array(2, LazyBound(lambda: hello_world)),
'two' / LazyBound(lambda: params_def_array_usertype_imported),
)

_schema = imports_params_def_array_usertype_imported
9 changes: 9 additions & 0 deletions compiled/construct/params_def_array_usertype_imported.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from construct import *
from construct.lib import *

params_def_array_usertype_imported = Struct(
'hw0_one' / Computed(lambda this: this.hws_param[0].one),
'hw1_one' / Computed(lambda this: this.hws_param[1].one),
)

_schema = params_def_array_usertype_imported
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bcd_user_type_be.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bcd_user_type_be_t::bcd_user_type_be_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bcd_user_type_be_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
m_ltr = nullptr;
m__io__raw_ltr = nullptr;
m_rtl = nullptr;
Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bcd_user_type_be.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bcd_user_type_be_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bcd_user_type_le.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bcd_user_type_le_t::bcd_user_type_le_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bcd_user_type_le_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
m_ltr = nullptr;
m__io__raw_ltr = nullptr;
m_rtl = nullptr;
Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bcd_user_type_le.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bcd_user_type_le_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_byte_aligned.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_byte_aligned_t::bits_byte_aligned_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_byte_aligned_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_byte_aligned.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_byte_aligned_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_enum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_enum_t::bits_enum_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_enum_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_enum_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_seq_endian_combo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_seq_endian_combo_t::bits_seq_endian_combo_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_seq_endian_combo_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_seq_endian_combo.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_seq_endian_combo_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_shift_by_b32_le.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_shift_by_b32_le_t::bits_shift_by_b32_le_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_shift_by_b32_le_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_shift_by_b32_le.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_shift_by_b32_le_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_shift_by_b64_le.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_shift_by_b64_le_t::bits_shift_by_b64_le_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_shift_by_b64_le_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_shift_by_b64_le.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_shift_by_b64_le_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_signed_res_b32_be.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_signed_res_b32_be_t::bits_signed_res_b32_be_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_signed_res_b32_be_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_signed_res_b32_be.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_signed_res_b32_be_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_signed_res_b32_le.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_signed_res_b32_le_t::bits_signed_res_b32_le_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_signed_res_b32_le_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_signed_res_b32_le.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_signed_res_b32_le_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_signed_shift_b32_le.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_signed_shift_b32_le_t::bits_signed_shift_b32_le_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_signed_shift_b32_le_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_signed_shift_b32_le.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_signed_shift_b32_le_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_signed_shift_b64_le.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_signed_shift_b64_le_t::bits_signed_shift_b64_le_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_signed_shift_b64_le_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_signed_shift_b64_le.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_signed_shift_b64_le_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_simple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_simple_t::bits_simple_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_simple_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
f_test_if_b1 = false;
_read();
}
Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_simple.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_simple_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_simple_le.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_simple_le_t::bits_simple_le_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_simple_le_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
f_test_if_b1 = false;
_read();
}
Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_simple_le.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_simple_le_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_unaligned_b32_be.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_unaligned_b32_be_t::bits_unaligned_b32_be_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_unaligned_b32_be_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_unaligned_b32_be.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_unaligned_b32_be_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_unaligned_b32_le.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_unaligned_b32_le_t::bits_unaligned_b32_le_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_unaligned_b32_le_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_unaligned_b32_le.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_unaligned_b32_le_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_unaligned_b64_be.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_unaligned_b64_be_t::bits_unaligned_b64_be_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_unaligned_b64_be_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_unaligned_b64_be.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_unaligned_b64_be_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bits_unaligned_b64_le.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bits_unaligned_b64_le_t::bits_unaligned_b64_le_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bits_unaligned_b64_le_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bits_unaligned_b64_le.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bits_unaligned_b64_le_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/buffered_struct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

buffered_struct_t::buffered_struct_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, buffered_struct_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
m_block1 = nullptr;
m__io__raw_block1 = nullptr;
m_block2 = nullptr;
Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/buffered_struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class buffered_struct_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/bytes_pad_term.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

bytes_pad_term_t::bytes_pad_term_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bytes_pad_term_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
_read();
}

Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/bytes_pad_term.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class bytes_pad_term_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/cast_nested.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

cast_nested_t::cast_nested_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, cast_nested_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
m_opcodes = nullptr;
f_opcodes_0_str = false;
f_opcodes_0_str_value = false;
Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/cast_nested.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class cast_nested_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion compiled/cpp_stl_11/cast_to_imported.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

cast_to_imported_t::cast_to_imported_t(kaitai::kstruct* p_hw_param, kaitai::kstream* p__io, kaitai::kstruct* p__parent, cast_to_imported_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m__root = p__root ? p__root : this;
m_hw_param = p_hw_param;
f_hw_one = false;
_read();
Expand Down
2 changes: 2 additions & 0 deletions compiled/cpp_stl_11/cast_to_imported.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild

class cast_to_imported_t;

#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
Expand Down
Loading

0 comments on commit 390419a

Please sign in to comment.