Simon Wright <[email protected]> writes:

> On 31 May 2015, at 01:09, Stephen Leake <[email protected]> 
> wrote:
>
>> Simon Wright <[email protected]> writes:
>
>>> I’d like to check out the Mac side of things so as to know what to
>>> expect!
>> 
>> Ok, that would be helpful.
>> 
>>>> Meanwhile, I can send you my patches; I'm focusing on the FastToken work
>>>> for now, so the Emacs side is stable on my end.
>>> 
>>> That would be great.
>> 
>> Attached.
>
> Thanks.
>
> I think I have to evaluate (module-emacs_value-type) in the built
> Emacs, then - for example -
>
>   #define EMACS_VALUE_TYPE uint64_t
>
> before
>
>   #include <emacs_module.h>
>
> ? 

Yes, except the prefered way is to use -D on the gcc command.

ada-mode/build/wisi/Makefile has code that does that (see
EMACS_VALUE_TYPE_C) 

I didn't check if there's a "modules" section in the emacs manual yet;
this should be in there.

But it hasn't been commented on by anyone else yet.

>(which means that (basic-sum 2 2) works! so far, so good)

So I need to add EMACS_VALUE_TYPE_C to the basic Makefile


I've only tested with 32 bits so far; that's what GNAT GPL 2014 on
Windows is. Which is one reason I tried to move to Linux. I'll get back
to that soon.

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to