From 36f2d7dab1e65507841067073dd66d72b2dc663c Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周二, 04 12月 2012 17:24:30 +0800 Subject: [PATCH] Correct type refactoryng in README --- README.md | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/README.md b/README.md index 52311cc..7565661 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ The last structure is scpi context used in parser library. - scpi_context_t scpi_context; + scpi_t scpi_context; All these structures should be global variables of the c file or allocated by function like malloc. It is common mistake to create these structures inside a function as local variables of this function. This will not work. If you don't know why, you should read something about [function stack.](http://stackoverflow.com/questions/4824342/returning-a-local-variable-from-function-in-c). -- Gitblit v1.9.1