Skip to content

Commit

Permalink
Merge pull request #46 from apple1417/master
Browse files Browse the repository at this point in the history
allow making null weak pointers, pull in ue3 fixes
  • Loading branch information
apple1417 authored Sep 14, 2024
2 parents b7b33fe + 1cbded4 commit 64b6d74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/unrealsdk
2 changes: 1 addition & 1 deletion stubs/unrealsdk/unreal/_weak_pointer.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ from typing import Any
from ._uobject import UObject

class WeakPointer[T: UObject = UObject]:
def __init__(self, obj: T) -> None:
def __init__(self, obj: T | None) -> None:
"""
Creates a weak reference to an unreal object.
Expand Down

0 comments on commit 64b6d74

Please sign in to comment.