code-intelligence 3.2.0__py3-none-win_amd64.whl → 3.3.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.
@@ -3,6 +3,7 @@ from .goober import (
3
3
  Definition_Link,
4
4
  scan_file,
5
5
  find_symbols_in_text,
6
+ init,
6
7
  stop,
7
8
  clear,
8
9
  )
@@ -12,7 +13,7 @@ from .goober import (
12
13
  # SHAME - Bump when fixing things too embarrassing to admit.
13
14
  # PROUD.DEFAULT.SHAME
14
15
  # \ | /
15
- __version__ = "3.2.0"
16
+ __version__ = "3.3.0"
16
17
  __version_info__ = tuple(int(i) for i in __version__.split('.'))
17
18
 
18
19
  __all__ = [
@@ -20,6 +21,7 @@ __all__ = [
20
21
  "Definition_Link",
21
22
  "scan_file",
22
23
  "find_symbols_in_text",
24
+ "init",
23
25
  "stop",
24
26
  "clear",
25
27
  ]
@@ -41,6 +41,9 @@ _lib.enqueue_stop.restype = None
41
41
  _lib.enqueue_clear.argtypes = []
42
42
  _lib.enqueue_clear.restype = None
43
43
 
44
+ _lib.start_workers.argtypes = []
45
+ _lib.start_workers.restype = None
46
+
44
47
  _lib.get_pending_tasks_count.argtypes = []
45
48
  _lib.get_pending_tasks_count.restype = C.c_uint64
46
49
 
@@ -156,6 +159,10 @@ def pending_tasks() -> int:
156
159
  return _lib.get_pending_tasks_count()
157
160
 
158
161
 
162
+ def init():
163
+ _lib.start_workers()
164
+
165
+
159
166
  def stop():
160
167
  _lib.enqueue_stop()
161
168
 
@@ -108,6 +108,7 @@ typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
108
108
  extern "C" {
109
109
  #endif
110
110
 
111
+ extern __declspec(dllexport) void start_workers(void);
111
112
  extern __declspec(dllexport) void enqueue_scan_file(scan_callback_t callback, uintptr_t data, char* c_path, GoUint64 language);
112
113
  extern __declspec(dllexport) void enqueue_find_symbols_in_text(find_callback_t callback, uintptr_t data, char* c_text);
113
114
  extern __declspec(dllexport) void enqueue_stop(void);
Binary file
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: code_intelligence
3
- Version: 3.2.0
3
+ Version: 3.3.0
4
4
  Summary: Code intelligence library
@@ -0,0 +1,8 @@
1
+ code_intelligence-3.3.0.dist-info/METADATA,sha256=GjydZJisD2oYo8E4VkOSw7GKxskpnITRxtFGRurGncU,100
2
+ code_intelligence-3.3.0.dist-info/RECORD,,
3
+ code_intelligence-3.3.0.dist-info/WHEEL,sha256=aD7J6E7Slys9i0J65v6Ehfi0DHYa5rImRhUDp62Iwh0,98
4
+ code_intelligence/__init__.py,sha256=oIXxSmeNFJScnUsKG8r906r1ur34-SwvbN8gGGkb_D8,587
5
+ code_intelligence/goober.py,sha256=yelM919e_n3nI2NnYx3qGgAS74J2-zkdp3x-GIz_gVI,6481
6
+ code_intelligence/libcode_intelligence.h,sha256=9iy0xXcOpq366DuiKw1cw4-7VNz-QPAYBNJGZKEh12M,3169
7
+ code_intelligence/libcode_intelligence.so,sha256=wQ0AyR2z7GvHf6kZVntMmRAE-E4yT4VgZkcdFQ7G8Lo,2840064
8
+ code_intelligence/symdb.py,sha256=gRq3-xr2oYIzudgwDwMj3Zl5Pb0B8tDdnGKUB0WIV_o,32427
@@ -1,8 +0,0 @@
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