Skip to content
Snippets Groups Projects
Commit 04205219 authored by Julian Seward's avatar Julian Seward
Browse files

[project @ 2000-05-12 16:03:04 by sewardj]

DietHEP demo program wurble
parent 6212ebc6
No related merge requests found
module Dh_Demo where
wurble :: Int -> IO ()
wurble x = putStr ( "Hello Erik && Daan, today's magic number is: "
++ show x ++ "\n")
......@@ -11,7 +11,7 @@ int main ( int argc, char** argv )
DH_MODULE hModule;
void(*proc)(int);
hModule = DH_LoadLibrary("FooBar"); /* note no .hs */
hModule = DH_LoadLibrary("Dh_Demo"); /* note no .hs */
assert(hModule != 0);
proc = DH_GetProcAddress ( dh_ccall, hModule, "wurble" );
assert(proc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment