Diff
Not logged in

Differences From Artifact [4f177ffd04]:

To Artifact [65fc63856a]:


    34     34     cont_name: CString,
    35     35     access: ref.refType(Permission),
    36     36     access_len: usize,
    37     37     access_cap: usize
    38     38   });
    39     39   
    40     40   export const RegisteredApp = StructType({
    41         -  app_id: AppExchangeInfo,
           41  +  app_info: AppExchangeInfo,
    42     42     containers: ref.refType(ContainerPermissions),
    43     43     containers_len: usize,
    44     44     containers_cap: usize
    45     45   });
    46     46   
    47     47   export const RegisteredAppPointer = ref.refType(RegisteredApp);
    48     48   
................................................................................
    58     58   
    59     59   export const ContainersReq = StructType({
    60     60     app: AppExchangeInfo,
    61     61     containers: ref.refType(ContainerPermissions),
    62     62     containers_len: usize,
    63     63     containers_cap: usize
    64     64   });
           65  +
           66  +export const FfiResult = StructType({
           67  +  error_code: int32,
           68  +  description: CString
           69  +});
    65     70   
    66     71   export const ContainersReqPointer = ref.refType(ContainersReq);
    67     72   
    68     73   export const allocAppHandlePointer = () => (ref.alloc(AppHandlePointer));
    69     74   
    70     75   export const allocCString = (str) => (ref.allocCString(str));
    71     76   
    72     77   export const allocAuthReq = (req) => (ref.alloc(AuthReq, req));
    73     78   
    74     79   export const allocContainerReq = (req) => (ref.alloc(ContainersReq, req));