If you construct a program in ATS that contains several DATS-files, then
you need to have
a basic understanding of dynload-declaration and dynload-function.
If a file-scope val is declared or the code uses exceptions.
To skip it, you need to include the following line
#define ATS_DYNLOADFLAG 0
at the beginning of the involved DATS-file.On Sat, Sep 13, 2014 at 11:20 AM, Shea Levy sh...@shealevy.com wrote:
Do I understand correctly that dynloading is only necessary if a
file-scope val is declared? Is there any way to skip it in the special
case where a file-scope var could be initialized with constant
initialization in C?
~Shea
On Fri, Sep 12, 2014 at 10:04:21PM -0700, gmhwxi wrote:
I wrote a short chapter on dynamic loading in ATS:
If you construct a program in ATS that contains several DATS-files, then
you need to have
a basic understanding of dynload-declaration and dynload-function.
Do I understand correctly that dynloading is only necessary if a
file-scope val is declared? Is there any way to skip it in the special
case where a file-scope var could be initialized with constant
initialization in C?
~SheaOn Fri, Sep 12, 2014 at 10:04:21PM -0700, gmhwxi wrote:
I wrote a short chapter on dynamic loading in ATS:
If you construct a program in ATS that contains several DATS-files, then
you need to have
a basic understanding of dynload-declaration and dynload-function.