-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #7 Refactoring the criterion tests to libcheck #24
Fixes #7 Refactoring the criterion tests to libcheck #24
Conversation
…avis, to download possible travis error with gcc6 in OSX
…ake test , but updating the xcode version to 8.0=>8.3
… stdevAlDen_t7_refactor_in_tests
…sh, and declare to install gcc 6 `brew install gcc6` by testing in travis
…avis-ci.com/skycoin/libskycoin/jobs/196050490#L1430, `error: ‘for’ loop initial declarations are only allowed in C99 mode`
…/travis-ci.org/skycoin/libskycoin/jobs/525238852#L1266 the type `error: ‘for’ loop initial declarations are only allowed in C99 mode`
@@ -17,7 +15,7 @@ | |||
#define JSON_FILE_SIZE 4096 | |||
#define JSON_BIG_FILE_SIZE 32768 | |||
|
|||
// FIXME: Does not work on e.g. Windowa | |||
// FIXME: Does not work on e.g. Windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the moment this will be tolerated ... full Windows support deferred until 0.26.0
.
…/cgo/skyassert.h
lib/cgo/cipher.crypto.go
Outdated
@@ -43,36 +43,6 @@ func SKY_cipher_PubKeyFromHex(_s string, _arg1 *C.cipher__PubKey) (____error_cod | |||
return | |||
} | |||
|
|||
//export SKY_cipher_PubKeyFromSecKey |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stdevHan why is this removed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert that change . That makes it impossible to auto-generate code out of skycoin/skycoin
function signatures.
lib/cgo/cipher.crypto.go
Outdated
@@ -229,18 +176,6 @@ func SKY_cipher_GenerateKeyPair(_arg0 *C.cipher__PubKey, _arg1 *C.cipher__SecKey | |||
return | |||
} | |||
|
|||
//export SKY_cipher_GenerateDeterministicKeyPair |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stdevHan why removed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lib/cgo/cipher.hash.go
Outdated
@@ -59,14 +61,6 @@ func SKY_cipher_SHA256_Xor(_g *C.cipher__SHA256, _b *C.cipher__SHA256, _arg1 *C. | |||
return | |||
} | |||
|
|||
//export SKY_cipher_SumSHA256 | |||
func SKY_cipher_SumSHA256(_b []byte, _arg1 *C.cipher__SHA256) (____error_code uint32) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this removed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lib/cgo/libsky_handle.go
Outdated
@@ -467,39 +339,34 @@ func SKY_handle_close(handle C.Handle) { | |||
closeHandle(Handle(handle)) | |||
} | |||
|
|||
//export SKY_handle_copy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't remove this ... If I recall correctly it is used by SWIG extensions .
lib/cgo/cipher.crypto.hw.go
Outdated
@@ -0,0 +1,150 @@ | |||
package main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put these back to their original location . This makes it impossible to auto-generate code out of skycoin/skycoin function signatures. Find another way to get this done .
…on.c => libsky_assert.c}
…ing them where they belong compared to `v0.25dev`.
Fixes #7
Changes:
Does this change need to mentioned in CHANGELOG.md?
yes
Requires testing
no