fx: implement a proper value-type mechanism
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#include <fx/value-type.h>
|
||||
#include <fx/value.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
fx_value v = FX_I32(1024);
|
||||
printf("%u\n", __fx_type_get_value_type(FX_TYPE_I64));
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user