File tree Expand file tree Collapse file tree 4 files changed +2
-18
lines changed
Expand file tree Collapse file tree 4 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,6 @@ char heap_start[8192];
66#define PC_HEAP_START (heap_start)
77#define static_assert _Static_assert
88
9- typedef signed char int8_t ;
10- typedef unsigned char uint8_t ;
11- typedef signed short int16_t ;
12- typedef unsigned short uint16_t ;
13- typedef signed int int32_t ;
14- typedef unsigned int uint32_t ;
15- typedef signed long int int64_t ;
16- typedef unsigned long int uint64_t ;
17-
189#include "../upd_aggregate.h"
1910
2011extern bool c_upd_aggregate ( pc_price_t * ptr , uint64_t slot , int64_t timestamp ){
Original file line number Diff line number Diff line change 11#pragma once
22
33#include <stdbool.h>
4+ #include "util/compat_stdint.h"
45
56#ifdef __cplusplus
67extern "C" {
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ fn main() {
99
1010 //generate and write bindings
1111 let bindings = Builder :: default ( )
12+ . clang_arg ( "-I../../../solana/sdk/bpf/c/inc/" )
1213 . header ( "./src/bindings.h" )
1314 . parse_callbacks ( Box :: new ( parser) )
1415 . rustfmt_bindings ( true )
Original file line number Diff line number Diff line change 22
33#define static_assert _Static_assert
44
5- typedef signed char int8_t ;
6- typedef unsigned char uint8_t ;
7- typedef signed short int16_t ;
8- typedef unsigned short uint16_t ;
9- typedef signed int int32_t ;
10- typedef unsigned int uint32_t ;
11- typedef signed long int int64_t ;
12- typedef unsigned long int uint64_t ;
13-
145#include <stddef.h>
156#include "../../c/src/oracle/oracle.h"
167
You can’t perform that action at this time.
0 commit comments