Embryo.h   Embryo.h 
skipping to change at line 13 skipping to change at line 13
These routines are used for Embryo. These routines are used for Embryo.
@mainpage Embryo Library Documentation @mainpage Embryo Library Documentation
@image html e_big.png @image html e_big.png
@version 1.0.0 @version 1.0.0
@author Carsten Haitzler <raster\@rasterman.com> @author Carsten Haitzler <raster\@rasterman.com>
@author Compuphase http://www.compuphase.com @author Compuphase http://www.compuphase.com
@date 2004-2011 @date 2004-2012
@section intro What is Embryo? @section intro What is Embryo?
Embryo is a tiny library designed to interpret limited Small programs Embryo is a tiny library designed to interpret limited Small programs
compiled by the included compiler, @c embryo_cc. It is mostly a cleaned compiled by the included compiler, @c embryo_cc. It is mostly a cleaned
up and smaller version of the original Small abstract machine. The up and smaller version of the original Small abstract machine. The
compiler is mostly untouched. compiler is mostly untouched.
Small was renamed to Pawn. Small was renamed to Pawn.
For more information about the Pawn language, see For more information about the Pawn language, see
skipping to change at line 341 skipping to change at line 341
# else # else
# define EAPI # define EAPI
# endif # endif
#endif /* ! _WIN32 */ #endif /* ! _WIN32 */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#define EMBRYO_VERSION_MAJOR 1 #define EMBRYO_VERSION_MAJOR 1
#define EMBRYO_VERSION_MINOR 0 #define EMBRYO_VERSION_MINOR 2
typedef struct _Embryo_Version typedef struct _Embryo_Version
{ {
int major; int major;
int minor; int minor;
int micro; int micro;
int revision; int revision;
} Embryo_Version; } Embryo_Version;
EAPI extern Embryo_Version *embryo_version; EAPI extern Embryo_Version *embryo_version;
skipping to change at line 771 skipping to change at line 771
/** /**
* Runs the given function of the given Embryo program in the current * Runs the given function of the given Embryo program in the current
* virtual machine. The parameter @p fn can be found using * virtual machine. The parameter @p fn can be found using
* @ref embryo_program_function_find. * @ref embryo_program_function_find.
* *
* @note For Embryo to be able to run a function, it must have been * @note For Embryo to be able to run a function, it must have been
* declared @c public in the Small source code. * declared @c public in the Small source code.
* *
* @param ep The given program. * @param ep The given program.
* @param fn The given function. Normally "main", in which case the * @param func The given function. Normally "main", in which case the
* constant @c EMBRYO_FUNCTION_MAIN can be used. * constant @c EMBRYO_FUNCTION_MAIN can be used.
* @return @c EMBRYO_PROGRAM_OK on success. @c EMBRYO_PROGRAM_SLEEP if th e * @return @c EMBRYO_PROGRAM_OK on success. @c EMBRYO_PROGRAM_SLEEP if th e
* program is halted by the Small @c sleep call. * program is halted by the Small @c sleep call.
* @c EMBRYO_PROGRAM_FAIL if there is an error. * @c EMBRYO_PROGRAM_FAIL if there is an error.
* @c EMBRYO_PROGRAM_TOOLONG if the program executes for longer th an * @c EMBRYO_PROGRAM_TOOLONG if the program executes for longer th an
* it is allowed to in abstract machine instruction count. * it is allowed to in abstract machine instruction count.
* @ingroup Embryo_Run_Group * @ingroup Embryo_Run_Group
*/ */
EAPI Embryo_Status embryo_program_run(Embryo_Program *ep, Embryo_Functio n func); EAPI Embryo_Status embryo_program_run(Embryo_Program *ep, Embryo_Functio n func);
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/