Skip to content

Instantly share code, notes, and snippets.

@JohnPeel
Last active August 29, 2015 14:01
Show Gist options
  • Save JohnPeel/11553796 to your computer and use it in GitHub Desktop.
Save JohnPeel/11553796 to your computer and use it in GitHub Desktop.
program project1;
{$linklib c}
{$linklib gcc}
{$linklib gcc_s}
{$linklib stdc++}
{$linklib Test}
uses cmem, ctypes;
function randomIntAdd(x: cint): cint; cdecl; external;
begin
WriteLn(randomIntAdd(0));
end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment