code-intelligence 3.1.0__py3-none-win_amd64.whl → 3.2.0__py3-none-win_amd64.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.
@@ -7,7 +7,12 @@ from .goober import (
7
7
  clear,
8
8
  )
9
9
 
10
- __version__ = "3.1.0"
10
+ # PROUD - Bump when you are proud of the release.
11
+ # DEFAULT - Just normal/okay releases.
12
+ # SHAME - Bump when fixing things too embarrassing to admit.
13
+ # PROUD.DEFAULT.SHAME
14
+ # \ | /
15
+ __version__ = "3.2.0"
11
16
  __version_info__ = tuple(int(i) for i in __version__.split('.'))
12
17
 
13
18
  __all__ = [
@@ -24,11 +24,11 @@ _lib.enqueue_scan_file.restype = None
24
24
 
25
25
  class Definition_Link_C(C.Structure):
26
26
  _fields_ = [
27
- ("start_offset_in_text", C.c_uint32),
28
- ("end_offset_in_text" , C.c_uint32),
29
- ("source_file" , C.c_char_p),
30
- ("line_0_based" , C.c_uint32),
31
- ("column_0_based" , C.c_uint32),
27
+ ("start_offset_in_utf8_text", C.c_uint32),
28
+ ("end_offset_in_utf8_text" , C.c_uint32),
29
+ ("source_file" , C.c_char_p),
30
+ ("line_0_based" , C.c_uint32),
31
+ ("column_0_based" , C.c_uint32),
32
32
  ]
33
33
 
34
34
  FIND_CALLBACK = C.CFUNCTYPE(None, C.c_void_p, C.POINTER(Definition_Link_C), C.c_int, C.c_void_p)
@@ -140,8 +140,8 @@ def C_AFTER_FIND(data_ptr, links_ptr, count, strings_handle):
140
140
  for i in range(count):
141
141
  link = links_ptr[i]
142
142
  results[i] = Definition_Link(
143
- start_offset_in_text=link.start_offset_in_text,
144
- end_offset_in_text=link.end_offset_in_text,
143
+ start_offset_in_text=link.start_offset_in_utf8_text,
144
+ end_offset_in_text=link.end_offset_in_utf8_text,
145
145
  source_file=link.source_file.decode('utf-8'),
146
146
  line_0_based=link.line_0_based,
147
147
  column_0_based=link.column_0_based,
Binary file
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: code_intelligence
3
- Version: 3.1.0
3
+ Version: 3.2.0
4
4
  Summary: Code intelligence library
@@ -0,0 +1,8 @@
1
+ code_intelligence-3.2.0.dist-info/METADATA,sha256=V1bD7fBzmNxapeMHm7mj6uXPfKdeZkUut0CMoFw08K4,100
2
+ code_intelligence-3.2.0.dist-info/RECORD,,
3
+ code_intelligence-3.2.0.dist-info/WHEEL,sha256=aD7J6E7Slys9i0J65v6Ehfi0DHYa5rImRhUDp62Iwh0,98
4
+ code_intelligence/__init__.py,sha256=GeMGefLs44gKys7KF9QBqaUKip-vahzACFkgAQ1WO50,563
5
+ code_intelligence/goober.py,sha256=oKCO03I8_f68xf8E068dL5WCl7JeFhnlS_NrRVyzSA0,6367
6
+ code_intelligence/libcode_intelligence.h,sha256=GE8YrqsyrBQbWRIb0FfiWPRCG5W6c5HcZ3sjIOlp2bU,3114
7
+ code_intelligence/libcode_intelligence.so,sha256=eyZbp26Dt45Zoj-Kzgr9lsoylOzZzVqZI4xu0ht2bLM,2839552
8
+ code_intelligence/symdb.py,sha256=gRq3-xr2oYIzudgwDwMj3Zl5Pb0B8tDdnGKUB0WIV_o,32427
@@ -1,8 +0,0 @@
1
- code_intelligence-3.1.0.dist-info/METADATA,sha256=kvNmRaa0LKtNyJM95_B9mmjHe8QUk1SnYm8nESIvupo,100
2
- code_intelligence-3.1.0.dist-info/RECORD,,
3
- code_intelligence-3.1.0.dist-info/WHEEL,sha256=aD7J6E7Slys9i0J65v6Ehfi0DHYa5rImRhUDp62Iwh0,98
4
- code_intelligence/__init__.py,sha256=_-X5CcA9b9ArVpgK3KLPDsm6OencvUoBRYE7vkWfZhc,353
5
- code_intelligence/goober.py,sha256=ec9Iv2g3yWTgolrpSl0zKp-Mh8d44l94hIPEvR5FY3A,6332
6
- code_intelligence/libcode_intelligence.h,sha256=GE8YrqsyrBQbWRIb0FfiWPRCG5W6c5HcZ3sjIOlp2bU,3114
7
- code_intelligence/libcode_intelligence.so,sha256=RZn_ykJkIifY4xRMYmpDcfQC7O_XrPzw2Klm8VJC9Ww,2829312
8
- code_intelligence/symdb.py,sha256=gRq3-xr2oYIzudgwDwMj3Zl5Pb0B8tDdnGKUB0WIV_o,32427