Commit 33d3a8c
Roberto Santalla
doc: fix documentation error in usage section
The example provided in the documentation used a different name for g_pFuncTableInfo, whic caused compilation to fail in GPAIL_LoadApi due to an undefined symbol:
/tmp/ccuhxdcO.o: In function `GPAIL_LoadApi(GPA_API_Type, char const*)':
main.cpp:(.text+0x502): undefined reference to `g_pFuncTableInfo'
The documentation now includes the proper snippet taken from `include/gpu_perf_api_interface_loader.h`1 parent 948c67c commit 33d3a8c
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | | - | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments