Skip to content

Commit

Permalink
Merge branch 'new-strings'
Browse files Browse the repository at this point in the history
  • Loading branch information
Victorious3 committed Apr 4, 2023
2 parents e348d27 + ac69a85 commit fd6d460
Show file tree
Hide file tree
Showing 47 changed files with 2,319 additions and 1,407 deletions.
1 change: 0 additions & 1 deletion include/linux/ffi.pr
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export type ffi_java_raw_closure = struct { tramp: [24; char]; cif: *ffi_cif; tr
export type ffi_go_closure = struct { tramp: *; cif: *ffi_cif; fun: def (*ffi_cif, *, **, *) -> (); }
export import def #extern ffi_closure_alloc(size: ulong, code: **) -> *
export import def #extern ffi_closure_free(_0: *)
export import def #extern ffi_prep_closure(_0: *ffi_closure, _1: *ffi_cif, fun: def (*ffi_cif, *, **, *) -> (), user_data: *) -> ffi_status
export import def #extern ffi_prep_closure_loc(_0: *ffi_closure, _1: *ffi_cif, fun: def (*ffi_cif, *, **, *) -> (), user_data: *, codeloc: *) -> ffi_status
export import def #extern ffi_prep_go_closure(_0: *ffi_go_closure, _1: *ffi_cif, fun: def (*ffi_cif, *, **, *) -> ()) -> ffi_status
export import def #extern ffi_call_go(cif: *ffi_cif, fn: def () -> (), rvalue: *, avalue: **, closure: *)
Expand Down
49 changes: 24 additions & 25 deletions include/linux/ffi_sym.pr
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
import ffi
import symbol
export var __SYMBOLS: [26; symbol::Symbol]
export var __SYMBOLS: [25; symbol::Symbol]
__SYMBOLS[0] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_closure_alloc", function = *ffi_closure_alloc !def () -> ()} !symbol::Symbol
__SYMBOLS[1] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_closure_free", function = *ffi_closure_free !def () -> ()} !symbol::Symbol
__SYMBOLS[2] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_prep_closure", function = *ffi_prep_closure !def () -> ()} !symbol::Symbol
__SYMBOLS[3] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_prep_closure_loc", function = *ffi_prep_closure_loc !def () -> ()} !symbol::Symbol
__SYMBOLS[4] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_prep_go_closure", function = *ffi_prep_go_closure !def () -> ()} !symbol::Symbol
__SYMBOLS[5] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_call_go", function = *ffi_call_go !def () -> ()} !symbol::Symbol
__SYMBOLS[6] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_prep_cif", function = *ffi_prep_cif !def () -> ()} !symbol::Symbol
__SYMBOLS[7] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_prep_cif_var", function = *ffi_prep_cif_var !def () -> ()} !symbol::Symbol
__SYMBOLS[8] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_call", function = *ffi_call !def () -> ()} !symbol::Symbol
__SYMBOLS[9] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_get_struct_offsets", function = *ffi_get_struct_offsets !def () -> ()} !symbol::Symbol
__SYMBOLS[10] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_void", variable = *ffi_type_void !*} !symbol::Symbol
__SYMBOLS[11] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_uint8", variable = *ffi_type_uint8 !*} !symbol::Symbol
__SYMBOLS[12] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_sint8", variable = *ffi_type_sint8 !*} !symbol::Symbol
__SYMBOLS[13] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_uint16", variable = *ffi_type_uint16 !*} !symbol::Symbol
__SYMBOLS[14] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_sint16", variable = *ffi_type_sint16 !*} !symbol::Symbol
__SYMBOLS[15] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_uint32", variable = *ffi_type_uint32 !*} !symbol::Symbol
__SYMBOLS[16] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_sint32", variable = *ffi_type_sint32 !*} !symbol::Symbol
__SYMBOLS[17] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_uint64", variable = *ffi_type_uint64 !*} !symbol::Symbol
__SYMBOLS[18] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_sint64", variable = *ffi_type_sint64 !*} !symbol::Symbol
__SYMBOLS[19] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_float", variable = *ffi_type_float !*} !symbol::Symbol
__SYMBOLS[20] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_double", variable = *ffi_type_double !*} !symbol::Symbol
__SYMBOLS[21] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_pointer", variable = *ffi_type_pointer !*} !symbol::Symbol
__SYMBOLS[22] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_longdouble", variable = *ffi_type_longdouble !*} !symbol::Symbol
__SYMBOLS[23] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_complex_float", variable = *ffi_type_complex_float !*} !symbol::Symbol
__SYMBOLS[24] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_complex_double", variable = *ffi_type_complex_double !*} !symbol::Symbol
__SYMBOLS[25] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_complex_longdouble", variable = *ffi_type_complex_longdouble !*} !symbol::Symbol
__SYMBOLS[2] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_prep_closure_loc", function = *ffi_prep_closure_loc !def () -> ()} !symbol::Symbol
__SYMBOLS[3] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_prep_go_closure", function = *ffi_prep_go_closure !def () -> ()} !symbol::Symbol
__SYMBOLS[4] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_call_go", function = *ffi_call_go !def () -> ()} !symbol::Symbol
__SYMBOLS[5] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_prep_cif", function = *ffi_prep_cif !def () -> ()} !symbol::Symbol
__SYMBOLS[6] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_prep_cif_var", function = *ffi_prep_cif_var !def () -> ()} !symbol::Symbol
__SYMBOLS[7] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_call", function = *ffi_call !def () -> ()} !symbol::Symbol
__SYMBOLS[8] = { kind = symbol::SymbolKind::FUNCTION, dllimport = false, name = "ffi_get_struct_offsets", function = *ffi_get_struct_offsets !def () -> ()} !symbol::Symbol
__SYMBOLS[9] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_void", variable = *ffi_type_void !*} !symbol::Symbol
__SYMBOLS[10] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_uint8", variable = *ffi_type_uint8 !*} !symbol::Symbol
__SYMBOLS[11] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_sint8", variable = *ffi_type_sint8 !*} !symbol::Symbol
__SYMBOLS[12] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_uint16", variable = *ffi_type_uint16 !*} !symbol::Symbol
__SYMBOLS[13] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_sint16", variable = *ffi_type_sint16 !*} !symbol::Symbol
__SYMBOLS[14] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_uint32", variable = *ffi_type_uint32 !*} !symbol::Symbol
__SYMBOLS[15] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_sint32", variable = *ffi_type_sint32 !*} !symbol::Symbol
__SYMBOLS[16] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_uint64", variable = *ffi_type_uint64 !*} !symbol::Symbol
__SYMBOLS[17] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_sint64", variable = *ffi_type_sint64 !*} !symbol::Symbol
__SYMBOLS[18] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_float", variable = *ffi_type_float !*} !symbol::Symbol
__SYMBOLS[19] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_double", variable = *ffi_type_double !*} !symbol::Symbol
__SYMBOLS[20] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_pointer", variable = *ffi_type_pointer !*} !symbol::Symbol
__SYMBOLS[21] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_longdouble", variable = *ffi_type_longdouble !*} !symbol::Symbol
__SYMBOLS[22] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_complex_float", variable = *ffi_type_complex_float !*} !symbol::Symbol
__SYMBOLS[23] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_complex_double", variable = *ffi_type_complex_double !*} !symbol::Symbol
__SYMBOLS[24] = { kind = symbol::SymbolKind::VARIABLE, dllimport = false, name = "ffi_type_complex_longdouble", variable = *ffi_type_complex_longdouble !*} !symbol::Symbol
1 change: 0 additions & 1 deletion include/linux/linux.pr
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,6 @@ export import def #extern sethostid(__id: long) -> int
export import def #extern getdomainname(__name: *char, __len: ulong) -> int
export import def #extern setdomainname(__name: *char, __len: ulong) -> int
export import def #extern vhangup() -> int
export import def #extern profil(__sample_buffer: *ushort, __size: ulong, __offset: ulong, __scale: uint) -> int
export import def #extern acct(__name: *char) -> int
export import def #extern getusershell() -> *char
export import def #extern endusershell()
Expand Down
Loading

0 comments on commit fd6d460

Please sign in to comment.