[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Mon Aug 27 09:20:52 CEST 2012
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 12/08/27 09:20:52
Modified files:
cm3/m3-sys/m3back/src/: M3C.m3
Log message:
direct and indirect function calls I think work now
complete with
1) function pointers are cast to (return-type (*)())
which allows any number of parameters
making that more typesafe would be good
2) import_procedure is called in the "middle" of functions -- upon first call,
inside a scope, but then later imported functions are called from other functions
To workaround this, I output prototypes right away, and save them, and output
them again at the next begin_procedure; yuck
I suppose if this were K&R, we might do something less safe and smaller..
More information about the M3commit
mailing list