Skip to content

Commit

Permalink
An attempt to fix building
Browse files Browse the repository at this point in the history
  • Loading branch information
xaionaro committed Apr 16, 2021
1 parent 07051dd commit 2c398e8
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 590 deletions.
7 changes: 7 additions & 0 deletions go-tpm2-tss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ GENERATOR:
- tss2-tcti-mssim
- tss2-tcti-device
- tss2-mu
- tss2-fapi
- tss2-tctildr
- tss2-rc
- tss2-sys
Expand All @@ -24,6 +25,7 @@ GENERATOR:
- tss2/tss2_tcti.h
- tss2/tss2_tctildr.h
- tss2/tss2_tcti_mssim.h
- tss2/tss2_tcti_tbs.h
- tss2/tss2_tpm2_types.h

PARSER:
Expand Down Expand Up @@ -62,7 +64,12 @@ TRANSLATOR:
- {transform: export}
- {action: ignore, from: "^TSS2_ABI_VERSION_CURRENT"}
- {action: ignore, from: "^__flexarr"}
- {action: ignore, from: "^__pthread_cond_s"}
- {action: ignore, from: "^__PTHREAD_RWLOCK_ELISION_EXTRA"}
- {action: ignore, from: "^__GO__"}
- {action: ignore, from: ".*select.*"}
- {action: ignore, from: "^q.cvt.*"}
- {action: ignore, from: "^str.*"}
- {action: ignore, from: "^(PRI|SCN)[diouxX].*"}
- {action: accept, from: "^.*"}
const: []
Expand Down
6 changes: 1 addition & 5 deletions go_tpm2_tss/cgo_helpers.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// License: CC-0

// WARNING: This file has automatically been generated on Fri, 16 Apr 2021 23:53:50 IST.
// WARNING: This file has automatically been generated on Sat, 17 Apr 2021 00:39:05 IST.
// Code generated by https://git.io/c-for-go. DO NOT EDIT.

#include "_cgo_export.h"
Expand All @@ -22,10 +22,6 @@ unsigned int TSS2_TCTI_CANCEL_FCN_900241eb(TSS2_TCTI_CONTEXT* tctiContext) {
return tss2TctiCancelFcn900241EB(tctiContext);
}

unsigned int TSS2_TCTI_GET_POLL_HANDLES_FCN_d9753da9(TSS2_TCTI_CONTEXT* tctiContext, void* handles, unsigned long int* num_handles) {
return tss2TctiGetPollHandlesFcnD9753DA9(tctiContext, handles, num_handles);
}

unsigned int TSS2_TCTI_SET_LOCALITY_FCN_47c1ecda(TSS2_TCTI_CONTEXT* tctiContext, unsigned char locality) {
return tss2TctiSetLocalityFcn47C1ECDA(tctiContext, locality);
}
Expand Down
292 changes: 9 additions & 283 deletions go_tpm2_tss/cgo_helpers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2c398e8

Please sign in to comment.