debug-stats.c
1 #include <stdio.h>
2 #include <kuroko/kuroko.h>
3 #include <kuroko/vm.h>
4 
5 int main(int argc, char *argv[]) {
6  fprintf(stderr, "sizeof(KrkValue) = %lld\n", (long long)sizeof(KrkValue));
7  fprintf(stderr, "alignof(KrkValue) = %lld\n", (long long)__alignof__(KrkValue));
8  fprintf(stderr, "sizeof(KrkObj) = %lld\n", (long long)sizeof(KrkObj));
9  fprintf(stderr, "alignof(KrkObj) = %lld\n", (long long)__alignof__(KrkObj));
10  return 0;
11 }
12 
13 
Top-level header with configuration macros.
The most basic object type.
Definition: object.h:41
Stack reference or primative value.
Core API for the bytecode virtual machine.