This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/os2/som/helloc/hello.c

27 lines
567 B
C

/*
* This file was generated by the SOM Compiler and Emitter Framework.
* Generated using template emitter:
* SOM Emitter emitctm: 2.23.1.9
*/
#include <stdio.h>
#ifndef SOM_Module_hello_Source
#define SOM_Module_hello_Source
#endif
#define Hello_Class_Source
#include "hello.ih"
/*
* This method outputs a hello world string.
*/
SOM_Scope void SOMLINK sayHello( Hello *somSelf, Environment *ev )
{
/* HelloData *somThis = HelloGetData(somSelf); */
HelloMethodDebug("Hello","sayHello");
puts( "Hello, World from SOM (C version)" );
}