Work goes on

This commit is contained in:
Thomas Schmitt 2007-10-23 16:05:07 +00:00
parent 63939c4f25
commit cb68f7e0b7

View File

@ -46,7 +46,7 @@
# class interconnections in the notation of my C stub generator CgeN # class interconnections in the notation of my C stub generator CgeN
# (see also end of this text) # (see also end of this text)
# next : comment : CevapmediA.nwa # next : work on completeness : cevapformat
# Open questions: # Open questions:
# - how to connect to GESTURES ? Globally ? # - how to connect to GESTURES ? Globally ?
@ -423,6 +423,9 @@ Cgen=\
# 0= drive is grabbed, 1= drive is not grabbed # 0= drive is grabbed, 1= drive is not grabbed
-v volatile int released -v volatile int released
# File descriptor of an eventual emulated drive
-v int stdio_fd
# >>> ??? # >>> ???
# (do we need a drive owned buffer to carry data from call to call or what ?) # (do we need a drive owned buffer to carry data from call to call or what ?)
-v struct CevapbuffeR *buffer -v struct CevapbuffeR *buffer
@ -494,7 +497,9 @@ cevapmedia
# (Speed values go into drive.mdata_*_*_speed) # (Speed values go into drive.mdata_*_*_speed)
-r -l struct CevapperF *speed_descriptor -r -l struct CevapperF *speed_descriptor
-p -v struct CevapperF *eol_speed_descriptor -p -v struct CevapperF *eol_speed_descriptor
# >>> # >>>
@ @
=end Class =end Class
@ -922,9 +927,12 @@ Notes:
Generate C stubs: Generate C stubs:
( cd libcevap && ./libcevap_gen.sh ) ( cd libcevap && ./libcevap_gen.sh )
Option -lowercase would generate all lowercase struct and function names
Compile test: Compile test:
( cd libcevap && ( rm a.out ; cc -g main.c cevap*.c smem.c ) ) ( cd libcevap && ( rm a.out ; cc -g main.c cevap*.c smem.c ) )
Option -DCevap_lowercasE would tell main.c that -lowercase was used above.
---------------------------------------------------------------------------- ----------------------------------------------------------------------------