mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-01 06:50:00 +00:00
ac6ed3d939
* upstep bun and sqlite versions * allow specific columns to be updated in the db * only update necessary columns for user * bit tidier * only update necessary fields of media_attachment * only update relevant instance fields * update tests * update only specific account columns * use bool pointers on gtsmodels includes attachment, status, account, user * update columns more selectively * test all default fields on new account insert * updating remaining bools on gtsmodels * initialize pointer fields when extracting AP emoji * copy bools properly * add copyBoolPtr convenience function + test it * initialize false bool ptrs a bit more neatly
524 lines
21 KiB
Go
524 lines
21 KiB
Go
// Code generated by 'go generate' - DO NOT EDIT.
|
|
|
|
package libc // import "modernc.org/libc"
|
|
|
|
var CAPI = map[string]struct{}{
|
|
"_IO_putc": {},
|
|
"___errno_location": {},
|
|
"__assert_fail": {},
|
|
"__builtin___memcpy_chk": {},
|
|
"__builtin___memmove_chk": {},
|
|
"__builtin___memset_chk": {},
|
|
"__builtin___snprintf_chk": {},
|
|
"__builtin___sprintf_chk": {},
|
|
"__builtin___strcat_chk": {},
|
|
"__builtin___strcpy_chk": {},
|
|
"__builtin___strncpy_chk": {},
|
|
"__builtin___vsnprintf_chk": {},
|
|
"__builtin_abort": {},
|
|
"__builtin_abs": {},
|
|
"__builtin_add_overflowInt64": {},
|
|
"__builtin_add_overflowUint32": {},
|
|
"__builtin_add_overflowUint64": {},
|
|
"__builtin_bswap16": {},
|
|
"__builtin_bswap32": {},
|
|
"__builtin_bswap64": {},
|
|
"__builtin_bzero": {},
|
|
"__builtin_clz": {},
|
|
"__builtin_clzl": {},
|
|
"__builtin_clzll": {},
|
|
"__builtin_constant_p_impl": {},
|
|
"__builtin_copysign": {},
|
|
"__builtin_copysignf": {},
|
|
"__builtin_copysignl": {},
|
|
"__builtin_exit": {},
|
|
"__builtin_expect": {},
|
|
"__builtin_fabs": {},
|
|
"__builtin_fabsf": {},
|
|
"__builtin_fabsl": {},
|
|
"__builtin_free": {},
|
|
"__builtin_getentropy": {},
|
|
"__builtin_huge_val": {},
|
|
"__builtin_huge_valf": {},
|
|
"__builtin_inf": {},
|
|
"__builtin_inff": {},
|
|
"__builtin_infl": {},
|
|
"__builtin_isnan": {},
|
|
"__builtin_isunordered": {},
|
|
"__builtin_malloc": {},
|
|
"__builtin_memcmp": {},
|
|
"__builtin_memcpy": {},
|
|
"__builtin_memset": {},
|
|
"__builtin_mmap": {},
|
|
"__builtin_mul_overflowInt64": {},
|
|
"__builtin_mul_overflowUint128": {},
|
|
"__builtin_mul_overflowUint64": {},
|
|
"__builtin_nan": {},
|
|
"__builtin_nanf": {},
|
|
"__builtin_nanl": {},
|
|
"__builtin_object_size": {},
|
|
"__builtin_popcount": {},
|
|
"__builtin_popcountl": {},
|
|
"__builtin_prefetch": {},
|
|
"__builtin_printf": {},
|
|
"__builtin_snprintf": {},
|
|
"__builtin_sprintf": {},
|
|
"__builtin_strchr": {},
|
|
"__builtin_strcmp": {},
|
|
"__builtin_strcpy": {},
|
|
"__builtin_strlen": {},
|
|
"__builtin_sub_overflowInt64": {},
|
|
"__builtin_trap": {},
|
|
"__builtin_unreachable": {},
|
|
"__ccgo_dmesg": {},
|
|
"__ccgo_getMutexType": {},
|
|
"__ccgo_in6addr_anyp": {},
|
|
"__ccgo_pthreadAttrGetDetachState": {},
|
|
"__ccgo_pthreadMutexattrGettype": {},
|
|
"__ccgo_sqlite3_log": {},
|
|
"__cmsg_nxthdr": {},
|
|
"__ctype_b_loc": {},
|
|
"__ctype_get_mb_cur_max": {},
|
|
"__errno_location": {},
|
|
"__floatscan": {},
|
|
"__fpclassify": {},
|
|
"__fpclassifyf": {},
|
|
"__fpclassifyl": {},
|
|
"__fsmu8": {},
|
|
"__h_errno_location": {},
|
|
"__inet_aton": {},
|
|
"__intscan": {},
|
|
"__isalnum_l": {},
|
|
"__isalpha_l": {},
|
|
"__isdigit_l": {},
|
|
"__islower_l": {},
|
|
"__isnan": {},
|
|
"__isnanf": {},
|
|
"__isnanl": {},
|
|
"__isoc99_sscanf": {},
|
|
"__isprint_l": {},
|
|
"__isupper_l": {},
|
|
"__isxdigit_l": {},
|
|
"__lockfile": {},
|
|
"__lookup_ipliteral": {},
|
|
"__lookup_name": {},
|
|
"__lookup_serv": {},
|
|
"__shgetc": {},
|
|
"__shlim": {},
|
|
"__strncasecmp_l": {},
|
|
"__sync_add_and_fetch_uint32": {},
|
|
"__sync_sub_and_fetch_uint32": {},
|
|
"__syscall1": {},
|
|
"__syscall3": {},
|
|
"__syscall4": {},
|
|
"__toread": {},
|
|
"__toread_needs_stdio_exit": {},
|
|
"__uflow": {},
|
|
"__unlockfile": {},
|
|
"_exit": {},
|
|
"_longjmp": {},
|
|
"_obstack_begin": {},
|
|
"_obstack_newchunk": {},
|
|
"_setjmp": {},
|
|
"abort": {},
|
|
"abs": {},
|
|
"accept": {},
|
|
"access": {},
|
|
"acos": {},
|
|
"acosh": {},
|
|
"alarm": {},
|
|
"asin": {},
|
|
"asinh": {},
|
|
"atan": {},
|
|
"atan2": {},
|
|
"atanh": {},
|
|
"atexit": {},
|
|
"atof": {},
|
|
"atoi": {},
|
|
"atol": {},
|
|
"backtrace": {},
|
|
"backtrace_symbols_fd": {},
|
|
"bind": {},
|
|
"bsearch": {},
|
|
"bzero": {},
|
|
"calloc": {},
|
|
"ceil": {},
|
|
"ceilf": {},
|
|
"cfgetospeed": {},
|
|
"cfsetispeed": {},
|
|
"cfsetospeed": {},
|
|
"chdir": {},
|
|
"chmod": {},
|
|
"chown": {},
|
|
"clock_gettime": {},
|
|
"close": {},
|
|
"closedir": {},
|
|
"confstr": {},
|
|
"connect": {},
|
|
"copysign": {},
|
|
"copysignf": {},
|
|
"copysignl": {},
|
|
"cos": {},
|
|
"cosf": {},
|
|
"cosh": {},
|
|
"ctime": {},
|
|
"ctime_r": {},
|
|
"dlclose": {},
|
|
"dlerror": {},
|
|
"dlopen": {},
|
|
"dlsym": {},
|
|
"dup2": {},
|
|
"dup3": {},
|
|
"endpwent": {},
|
|
"environ": {},
|
|
"execvp": {},
|
|
"exit": {},
|
|
"exp": {},
|
|
"fabs": {},
|
|
"fabsf": {},
|
|
"fabsl": {},
|
|
"faccessat": {},
|
|
"fchmod": {},
|
|
"fchmodat": {},
|
|
"fchown": {},
|
|
"fchownat": {},
|
|
"fclose": {},
|
|
"fcntl": {},
|
|
"fcntl64": {},
|
|
"fdopen": {},
|
|
"ferror": {},
|
|
"fflush": {},
|
|
"fgetc": {},
|
|
"fgets": {},
|
|
"fileno": {},
|
|
"floor": {},
|
|
"fmod": {},
|
|
"fmodl": {},
|
|
"fopen": {},
|
|
"fopen64": {},
|
|
"fork": {},
|
|
"fprintf": {},
|
|
"fputc": {},
|
|
"fputs": {},
|
|
"fread": {},
|
|
"free": {},
|
|
"freeaddrinfo": {},
|
|
"frexp": {},
|
|
"fscanf": {},
|
|
"fseek": {},
|
|
"fstat": {},
|
|
"fstat64": {},
|
|
"fstatfs": {},
|
|
"fsync": {},
|
|
"ftell": {},
|
|
"ftruncate": {},
|
|
"ftruncate64": {},
|
|
"fts64_close": {},
|
|
"fts64_open": {},
|
|
"fts64_read": {},
|
|
"fts_close": {},
|
|
"fts_open": {},
|
|
"fts_read": {},
|
|
"fwrite": {},
|
|
"gai_strerror": {},
|
|
"getaddrinfo": {},
|
|
"getc": {},
|
|
"getcwd": {},
|
|
"getegid": {},
|
|
"getentropy": {},
|
|
"getenv": {},
|
|
"geteuid": {},
|
|
"getgid": {},
|
|
"getgrgid": {},
|
|
"getgrgid_r": {},
|
|
"getgrnam": {},
|
|
"getgrnam_r": {},
|
|
"gethostbyaddr": {},
|
|
"gethostbyaddr_r": {},
|
|
"gethostbyname": {},
|
|
"gethostbyname2": {},
|
|
"gethostbyname2_r": {},
|
|
"gethostbyname_r": {},
|
|
"gethostname": {},
|
|
"getnameinfo": {},
|
|
"getpeername": {},
|
|
"getpid": {},
|
|
"getpwnam": {},
|
|
"getpwnam_r": {},
|
|
"getpwuid": {},
|
|
"getpwuid_r": {},
|
|
"getrandom": {},
|
|
"getresgid": {},
|
|
"getresuid": {},
|
|
"getrlimit": {},
|
|
"getrlimit64": {},
|
|
"getrusage": {},
|
|
"getservbyname": {},
|
|
"getsockname": {},
|
|
"getsockopt": {},
|
|
"gettimeofday": {},
|
|
"getuid": {},
|
|
"gmtime_r": {},
|
|
"h_errno": {},
|
|
"htonl": {},
|
|
"htons": {},
|
|
"hypot": {},
|
|
"inet_ntoa": {},
|
|
"inet_ntop": {},
|
|
"inet_pton": {},
|
|
"initstate": {},
|
|
"initstate_r": {},
|
|
"ioctl": {},
|
|
"isalnum": {},
|
|
"isalpha": {},
|
|
"isascii": {},
|
|
"isatty": {},
|
|
"isdigit": {},
|
|
"islower": {},
|
|
"isnan": {},
|
|
"isnanf": {},
|
|
"isnanl": {},
|
|
"isprint": {},
|
|
"isupper": {},
|
|
"iswalnum": {},
|
|
"iswspace": {},
|
|
"isxdigit": {},
|
|
"kill": {},
|
|
"ldexp": {},
|
|
"link": {},
|
|
"linkat": {},
|
|
"listen": {},
|
|
"localeconv": {},
|
|
"localtime": {},
|
|
"localtime_r": {},
|
|
"log": {},
|
|
"log10": {},
|
|
"longjmp": {},
|
|
"lrand48": {},
|
|
"lseek": {},
|
|
"lseek64": {},
|
|
"lstat": {},
|
|
"lstat64": {},
|
|
"malloc": {},
|
|
"mblen": {},
|
|
"mbrtowc": {},
|
|
"mbsinit": {},
|
|
"mbstowcs": {},
|
|
"mbtowc": {},
|
|
"memchr": {},
|
|
"memcmp": {},
|
|
"memcpy": {},
|
|
"memmove": {},
|
|
"memset": {},
|
|
"mkdir": {},
|
|
"mkdirat": {},
|
|
"mkfifo": {},
|
|
"mknod": {},
|
|
"mknodat": {},
|
|
"mkostemp": {},
|
|
"mkstemp": {},
|
|
"mkstemp64": {},
|
|
"mkstemps": {},
|
|
"mkstemps64": {},
|
|
"mktime": {},
|
|
"mmap": {},
|
|
"mmap64": {},
|
|
"modf": {},
|
|
"mremap": {},
|
|
"munmap": {},
|
|
"nanf": {},
|
|
"nl_langinfo": {},
|
|
"ntohs": {},
|
|
"obstack_free": {},
|
|
"obstack_vprintf": {},
|
|
"open": {},
|
|
"open64": {},
|
|
"openat": {},
|
|
"opendir": {},
|
|
"openpty": {},
|
|
"pathconf": {},
|
|
"pause": {},
|
|
"pclose": {},
|
|
"perror": {},
|
|
"pipe": {},
|
|
"pipe2": {},
|
|
"poll": {},
|
|
"popen": {},
|
|
"posix_fadvise": {},
|
|
"pow": {},
|
|
"printf": {},
|
|
"pselect": {},
|
|
"pthread_attr_destroy": {},
|
|
"pthread_attr_getdetachstate": {},
|
|
"pthread_attr_init": {},
|
|
"pthread_attr_setdetachstate": {},
|
|
"pthread_attr_setscope": {},
|
|
"pthread_attr_setstacksize": {},
|
|
"pthread_cond_broadcast": {},
|
|
"pthread_cond_destroy": {},
|
|
"pthread_cond_init": {},
|
|
"pthread_cond_signal": {},
|
|
"pthread_cond_timedwait": {},
|
|
"pthread_cond_wait": {},
|
|
"pthread_create": {},
|
|
"pthread_detach": {},
|
|
"pthread_equal": {},
|
|
"pthread_exit": {},
|
|
"pthread_getspecific": {},
|
|
"pthread_join": {},
|
|
"pthread_key_create": {},
|
|
"pthread_key_delete": {},
|
|
"pthread_mutex_destroy": {},
|
|
"pthread_mutex_init": {},
|
|
"pthread_mutex_lock": {},
|
|
"pthread_mutex_trylock": {},
|
|
"pthread_mutex_unlock": {},
|
|
"pthread_mutexattr_destroy": {},
|
|
"pthread_mutexattr_init": {},
|
|
"pthread_mutexattr_settype": {},
|
|
"pthread_self": {},
|
|
"pthread_setspecific": {},
|
|
"putc": {},
|
|
"putchar": {},
|
|
"puts": {},
|
|
"pwrite": {},
|
|
"qsort": {},
|
|
"raise": {},
|
|
"rand": {},
|
|
"rand_r": {},
|
|
"random": {},
|
|
"random_r": {},
|
|
"read": {},
|
|
"readdir": {},
|
|
"readdir64": {},
|
|
"readlink": {},
|
|
"readlinkat": {},
|
|
"readv": {},
|
|
"realloc": {},
|
|
"reallocarray": {},
|
|
"realpath": {},
|
|
"recv": {},
|
|
"recvfrom": {},
|
|
"recvmsg": {},
|
|
"remove": {},
|
|
"rename": {},
|
|
"renameat2": {},
|
|
"rewind": {},
|
|
"rindex": {},
|
|
"rint": {},
|
|
"rmdir": {},
|
|
"round": {},
|
|
"scalbn": {},
|
|
"scalbnl": {},
|
|
"sched_yield": {},
|
|
"select": {},
|
|
"send": {},
|
|
"sendmsg": {},
|
|
"sendto": {},
|
|
"setbuf": {},
|
|
"setenv": {},
|
|
"setjmp": {},
|
|
"setlocale": {},
|
|
"setrlimit": {},
|
|
"setrlimit64": {},
|
|
"setsid": {},
|
|
"setsockopt": {},
|
|
"setstate": {},
|
|
"setvbuf": {},
|
|
"shmat": {},
|
|
"shmctl": {},
|
|
"shmdt": {},
|
|
"shutdown": {},
|
|
"sigaction": {},
|
|
"signal": {},
|
|
"sin": {},
|
|
"sinf": {},
|
|
"sinh": {},
|
|
"sleep": {},
|
|
"snprintf": {},
|
|
"socket": {},
|
|
"sprintf": {},
|
|
"sqrt": {},
|
|
"srand48": {},
|
|
"sscanf": {},
|
|
"stat": {},
|
|
"stat64": {},
|
|
"stderr": {},
|
|
"stdin": {},
|
|
"stdout": {},
|
|
"strcasecmp": {},
|
|
"strcat": {},
|
|
"strchr": {},
|
|
"strcmp": {},
|
|
"strcpy": {},
|
|
"strcspn": {},
|
|
"strdup": {},
|
|
"strerror": {},
|
|
"strerror_r": {},
|
|
"strlcat": {},
|
|
"strlcpy": {},
|
|
"strlen": {},
|
|
"strncasecmp": {},
|
|
"strncat": {},
|
|
"strncmp": {},
|
|
"strncpy": {},
|
|
"strnlen": {},
|
|
"strpbrk": {},
|
|
"strrchr": {},
|
|
"strspn": {},
|
|
"strstr": {},
|
|
"strtod": {},
|
|
"strtof": {},
|
|
"strtoimax": {},
|
|
"strtok": {},
|
|
"strtol": {},
|
|
"strtold": {},
|
|
"strtoll": {},
|
|
"strtoul": {},
|
|
"strtoull": {},
|
|
"strtoumax": {},
|
|
"symlink": {},
|
|
"symlinkat": {},
|
|
"sysconf": {},
|
|
"system": {},
|
|
"tan": {},
|
|
"tanh": {},
|
|
"tcgetattr": {},
|
|
"tcsendbreak": {},
|
|
"tcsetattr": {},
|
|
"time": {},
|
|
"tmpfile": {},
|
|
"tolower": {},
|
|
"toupper": {},
|
|
"trunc": {},
|
|
"tzset": {},
|
|
"umask": {},
|
|
"uname": {},
|
|
"ungetc": {},
|
|
"unlink": {},
|
|
"unlinkat": {},
|
|
"unsetenv": {},
|
|
"usleep": {},
|
|
"utime": {},
|
|
"utimensat": {},
|
|
"utimes": {},
|
|
"uuid_copy": {},
|
|
"uuid_generate_random": {},
|
|
"uuid_parse": {},
|
|
"uuid_unparse": {},
|
|
"vasprintf": {},
|
|
"vfprintf": {},
|
|
"vfscanf": {},
|
|
"vprintf": {},
|
|
"vsnprintf": {},
|
|
"vsprintf": {},
|
|
"vsscanf": {},
|
|
"waitpid": {},
|
|
"wcschr": {},
|
|
"wctomb": {},
|
|
"wcwidth": {},
|
|
"write": {},
|
|
"writev": {},
|
|
"zero_struct_address": {},
|
|
}
|