forked from fibercrypto/libfibercrypto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cgo] refs fibercrypto#5 FInalized
util.datetime.go
- Loading branch information
Maykel Arias Torres
committed
Feb 10, 2020
1 parent
71fce79
commit cf4cd7b
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package main | ||
|
||
import util "github.com/fibercrypto/fibercryptowallet/src/util" | ||
|
||
/* | ||
#include <string.h> | ||
#include <stdlib.h> | ||
#include "fctypes.h" | ||
*/ | ||
import "C" | ||
|
||
//export FC_util_ParseDate | ||
func FC_util_ParseDate(_timeStamp int64, _arg1 *int, _arg2 *int, _arg3 *int, _arg4 *int, _arg5 *int, _arg6 *int) (____error_code uint32) { | ||
timeStamp := _timeStamp | ||
__arg1, __arg2, __arg3, __arg4, __arg5, __arg6 := util.ParseDate(timeStamp) | ||
*_arg1 = __arg1 | ||
*_arg2 = __arg2 | ||
*_arg3 = __arg3 | ||
*_arg4 = __arg4 | ||
*_arg5 = __arg5 | ||
*_arg6 = __arg6 | ||
return | ||
} |