Skip to content

Commit

Permalink
Refactor C_Interop class in c_interop.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ze7111 committed Mar 19, 2024
1 parent c6abde7 commit aeeaf86
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion c_interop.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,29 @@
)

class C_Interop(framework.Interop):

cache_dir: str
input_file: str
output_file: str
#hash: Hashing


def __init__(self, input_file: str, *attrs: str) -> None:
pass

def __getattr__(self, attr: str) -> Any:
pass

def __setattr__(self, attr: str, value: Any) -> None:
raise AttributeError("Cannot set attribute")

def __delattr__(self, attr: str) -> None:
pass

def __compile__(self) -> None:
pass

def get(self) -> tuple[ctypes.CDLL._FuncPtr, ...]:
pass

def __del__(self) -> None:
pass

0 comments on commit aeeaf86

Please sign in to comment.