On Sun, Aug 4, 2019 at 6:37 PM Allan Edwards wrote:
>
> I have written a small console application that has package main at the top
> and the program looks just like another console that runs successfully. On
> both mac and windows I am getting a message stating the executable created is
> not
On Tue, Jun 25, 2019 at 10:07 AM Alexander Kapshuk
wrote:
>
> Wander if specifying those linker flags via the '-ldflags' command
> line option would make a difference:
> go help build:
> -ldflags '[pattern=]arg list'
>arguments to pass on ea
lid
>> flags :(
>>
>> /*
>> #cgo LDFLAGS: --no-undefined --enable-runtime-pseudo-reloc
>> #include
>> #include
>> #include
>> */
>> import "C"
>>
>>
>>
>> Le lundi 24 juin 2019 18:58:22 UTC+2, Alexander Kap
t; you can find the dump at this place:
> https://pastebin.com/cg33nktu
>
> Le lundi 24 juin 2019 13:00:49 UTC+2, Alexander Kapshuk a écrit :
>>
>> Or was this it?
>>
>> #ifdef __cplusplus
>> extern "C" {
>> #endif
>> extern void _RVExtensionVersio
t;
> /* End of boilerplate cgo prologue. */
>
> #ifdef __cplusplus
> extern "C" {
> #endif
>
>
> extern void RVExtensionVersion(char* p0, size_t p1);
>
> extern void RVExtension(char* p0, size_t p1, char* p2);
>
> #ifdef __cplusplus
> }
>
e your dll and post the output of dumpbin.exe /EXPORTS
/path/to/slib.dll showing the listing of your exported symbols?
On Mon, Jun 24, 2019 at 11:41 AM Alexander Kapshuk
wrote:
>
> If I understand it correctly, cgo should have generated a
> _cgo_export.h header with a declaration for you
If I understand it correctly, cgo should have generated a
_cgo_export.h header with a declaration for your exported function.
Can you please post the generated declaration?
On Mon, Jun 24, 2019 at 12:47 AM wrote:
>
> We are trying to make the x32 version of the extension, as shown in the link
>
On Mon, Nov 13, 2017 at 1:42 PM, Konstantin Khomoutov
wrote:
> While debugging a program which had a panic due to an attempt to call a
> method on a value of an interface typeš, I came across the behaviour I
> find strange, and would like to get help understanding what happens.
>
> The behaviour
On Fri, Apr 14, 2017 at 3:06 PM, 代君 wrote:
> // void gosave(Gobuf*)
> // save state in Gobuf; setjmp
> TEXT runtime·gosave(SB), NOSPLIT, $0-8
> MOVQ buf+0(FP), AX // gobuf
> LEAQ buf+0(FP), BX // caller's SP
> MOVQ BX, gobuf_sp(AX)
> MOVQ 0(SP), BX // caller's PC
> MOVQ BX, gobuf_pc(AX)
> MOVQ $0,
On Tue, Feb 21, 2017 at 9:13 PM, Alexander Kapshuk
wrote:
> On Tue, Feb 21, 2017 at 7:51 PM, Manlio Perillo
> wrote:
>> I have noted that the intValue (and uintValue) Set method do the following:
>> v, err := strconv.ParseInt(s, 0, 64)
>>
>> However this
On Tue, Feb 21, 2017 at 7:51 PM, Manlio Perillo
wrote:
> I have noted that the intValue (and uintValue) Set method do the following:
> v, err := strconv.ParseInt(s, 0, 64)
>
> However this is incorrect on 32 bit systems:
> https://play.golang.org/p/tvAUCI63x3
>
> Can this be considered a bug?
On Thu, Jan 5, 2017 at 6:45 PM, bsr wrote:
> Please see the example https://play.golang.org/p/SeG7oO5Us0
>
> I am doing some javascript codegen and I want my values single quoted. so,
> in the above example, I want the output to be
>
>
> { v: 'hello ... \n world'}
>
>
> instead of
>
> { v: '"hello
On Mon, Oct 3, 2016 at 11:00 AM, wrote:
> hi guys
>
> i can't undrestand this func, can you say example for this func :
>
> time.Since()
>
> thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and sto
On Sat, Oct 1, 2016 at 4:21 PM, wrote:
>
> What applications can be build package OS ???
>
> if u can say example i be very happy
>
> thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receivin
14 matches
Mail list logo