Explorar o código

* delphi style imports

peter %!s(int64=22) %!d(string=hai) anos
pai
achega
ad27d96dc3
Modificáronse 1 ficheiros con 18 adicións e 0 borrados
  1. 18 0
      tests/tbs/tb0452.pp

+ 18 - 0
tests/tbs/tb0452.pp

@@ -0,0 +1,18 @@
+{ %version=1.1 }
+{ %target=linux }
+unit tb0452;
+
+{$mode delphi}
+
+interface
+
+function sem_open(__name: PChar; __oflag: Integer): Pointer; cdecl; varargs;
+
+implementation
+
+const
+  libpthreadmodulename = 'libpthread.so';
+
+function sem_open; external libpthreadmodulename name 'sem_open';
+
+end.