Skip to content

Commit

Permalink
Add typings for Avoid.getPointer and wrapPointer methods
Browse files Browse the repository at this point in the history
  • Loading branch information
zbynekstara authored and Aksem committed Oct 30, 2024
1 parent 4aa9a02 commit 34075e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions typings/libavoid.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ export interface Avoid {
JunctionRef: JunctionRef;

destroy(obj: any): void;
getPointer(obj: any): number;
wrapPointer<T>(ptr: number, Class: T): T;
}

export namespace AvoidLib {
Expand Down

0 comments on commit 34075e5

Please sign in to comment.