mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-0: importing typing into PyGhidraBasics.py
This commit is contained in:
parent
31e926fd44
commit
f9a6b575de
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@
|
||||||
# @category: Examples.Python
|
# @category: Examples.Python
|
||||||
# @runtime PyGhidra
|
# @runtime PyGhidra
|
||||||
|
|
||||||
|
import typing
|
||||||
|
if typing.TYPE_CHECKING:
|
||||||
|
from ghidra.ghidra_builtins import *
|
||||||
|
|
||||||
# we can import java libraries just as if they were python libraries
|
# we can import java libraries just as if they were python libraries
|
||||||
from java.util import LinkedList
|
from java.util import LinkedList
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue