C-Code
Code: Alles auswählen
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
void Test1(char *testvar1, unsigned int testvar2);
void Test2(char *testvar1, unsigned int testvar2);
void PB_Test1(char *testvar1, unsigned int testvar2)
{
printf("\n");
printf("testvar1: %s\n",testvar1);
printf("testvar2: %4d\n",testvar2);
}
void PB_Test2(char *testvar1, unsigned int testvar2)
{
printf("\n");
printf("testvar1: %s\n",testvar1);
printf("testvar2: %4d\n",testvar2);
}
Code: Alles auswählen
PB_Test1("Hallo",123)
PB_Test2(@"Hallo",123)
Code: Alles auswählen
;
; Langage used to code the library: ASM or C
C
;
; Number of windows DLL than the library need ?
0
; Library type (Can be OBJ or LIB)
;
LIB
;
; Number of PureBasic library needed by the library
0
; Help directory name
;
test
;
Test1, long, string (*testvar1, testvar2)
none
Test2, long, long (*testvar1, testvar2)
none