Skip to content

Commit

Permalink
[cgo] refs fibercrypto#5 FInalized util.datetime.go
Browse files Browse the repository at this point in the history
  • 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.
25 changes: 25 additions & 0 deletions lib/cgo/util.datetime.go
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
}

0 comments on commit cf4cd7b

Please sign in to comment.