kaabalah
Version:
The de-facto library for any esoteric calculations and tooling
12 lines (10 loc) • 433 B
TypeScript
import { SwissEphModuleFactory } from "../src/types";
interface SwissEphModule {
_malloc(size: number): number;
_free(ptr: number): void;
getValue(ptr: number, type: string): number;
stringToUTF8(str: string, ptr: number, maxLength: number): void;
cwrap(name: string, returnType: string | null, paramTypes: (string | null)[]): Function;
}
declare const moduleFactory: SwissEphModuleFactory;
export default moduleFactory;