en avant comme avant !

This commit is contained in:
tTh 2023-02-11 17:05:58 +01:00
부모 6c9f562c13
커밋 11d1cfd7de
4개의 변경된 파일34개의 추가작업 그리고 0개의 파일을 삭제

9
C_Binding/Makefile Normal file
파일 보기

@ -0,0 +1,9 @@
all: single_function.o single_subroutine.o
single_function.o: single_function.c Makefile
gcc -Wall -g -c $<
single_subroutine.o: single_subroutine.c Makefile
gcc -Wall -g -c $<

6
C_Binding/README.md Normal file
파일 보기

@ -0,0 +1,6 @@
`Sat Feb 11 15:46:25 UTC 2023`
Il serait temps de s'y mettre.

파일 보기

@ -0,0 +1,10 @@
#include <stdio.h>
long tth_getpid(int option)
{
fprintf(stderr, ">>> %s ( %d )\n", __func__, option);
return 42L;
}

파일 보기

@ -0,0 +1,9 @@
#include <stdio.h>
void tth_dumpmem(int option, void *ptr)
{
fprintf(stderr, ">>> %s ( %d %p )\n", __func__, option, ptr);
/* It's a subroutine so NO return */
}